#include <gandalf/image/image_defs.h>
Go to the source code of this file.
Enumerations | |
enum | Gan_ImageFileFormat { GAN_PNG_FORMAT, GAN_PBM_FORMAT, GAN_PGM_FORMAT, GAN_PPM_FORMAT, GAN_TIFF_FORMAT, GAN_JPEG_FORMAT, GAN_DPX_FORMAT, GAN_CINEON_FORMAT, GAN_UNKNOWN_FORMAT } |
Image file formats supported by Gandalf. More... | |
Functions | |
Gan_ImageFileFormat | gan_image_interpret_format_string (const char *format_string) |
Interprets a string as an image file format. | |
Gan_Image * | gan_image_read (const char *filename, Gan_ImageFileFormat file_format, Gan_Image *image) |
Reads an image file. | |
Gan_Image * | gan_image_read_stream (FILE *infile, Gan_ImageFileFormat file_format, Gan_Image *image) |
Reads an image file from a file stream. | |
Gan_Bool | gan_image_write (const char *filename, Gan_ImageFileFormat file_format, Gan_Image *image) |
Writes an image file. | |
Gan_Bool | gan_image_write_stream (FILE *outfile, Gan_ImageFileFormat file_format, Gan_Image *image) |
Writes an image file to a file stream. |
Part of: Gandalf Library