#include <stdio.h>
#include <gandalf/common/misc_defs.h>
#include <gandalf/image/image_defs.h>
Go to the source code of this file.
Functions | |
Gan_Image * | gan_read_pbm_image_stream (FILE *infile, Gan_Image *image) |
Reads a binary image file in PBM format from a stream. | |
Gan_Image * | gan_read_pbm_image (const char *filename, Gan_Image *image) |
Reads a binary image file in PBM format. | |
Gan_Bool | gan_write_pbm_image_stream (FILE *outfile, Gan_Image *image) |
Writes a binary image to a file stream in PBM format. | |
Gan_Bool | gan_write_pbm_image (const char *filename, Gan_Image *image) |
Writes a grey level image file in PBM format. |
Part of: Gandalf Library
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
|
Reads a binary image file in PBM format.
NULL a new image is dynamically allocated; otherwise the already allocated image structure is reused.
|
|
Reads a binary image file in PBM format from a stream.
NULL a new image is dynamically allocated, otherwise the already allocated image structure is reused.
|
|
Writes a grey level image file in PBM format.
|
|
Writes a binary image to a file stream in PBM format.
|