Main Page | Modules | Class List | File List | Class Members | File Members

png_io.c File Reference

#include <gandalf/image/io/png_io.h>
#include <gandalf/image/io/image_io.h>
#include <gandalf/image/image_bit.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/common/compare.h>
#include <png.h>

Functions

Gan_Bool gan_image_is_png (const unsigned char *magic_string, size_t length)
 Determines whether an image is a PNG image using the magic number.
Gan_Imagegan_read_png_image_stream (FILE *infile, Gan_Image *image, const struct Gan_ImageReadControlStruct *ictrlstr, struct Gan_ImageHeaderStruct *header)
 Reads an image file in PNG format from a file stream.
Gan_Imagegan_read_png_image (const char *filename, Gan_Image *image, const struct Gan_ImageReadControlStruct *ictrlstr, struct Gan_ImageHeaderStruct *header)
 Reads an image file in PNG format.
void gan_initialise_png_header_struct (Gan_PNGHeaderStruct *octrlstr)
 Initialises the write control structure for PNG files.
Gan_Bool gan_write_png_image_stream (FILE *outfile, const Gan_Image *image, Gan_Bool new_file, const struct Gan_ImageWriteControlStruct *octrlstr)
 Writes an image file to a stream in PNG format.
Gan_Bool gan_write_png_image (const char *filename, const Gan_Image *image, const struct Gan_ImageWriteControlStruct *octrlstr)
 Writes an image file in PNG format.

Detailed Description

Module: PNG format image file I/O functions

Part of: Gandalf Library

Version:
1.52
Date:
2006/03/15 14:09:07
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited

Note:
: Works with the libpng & lz libraries

Generated on Fri Mar 17 12:44:52 2006 by  doxygen 1.3.9.1