NCEPLIBS-g2c
1.6.4
|
Functions for dealing with PNG. More...
Go to the source code of this file.
Typedefs | |
typedef struct png_stream | png_stream |
Typedef for PNG stream. More... | |
Functions | |
int | enc_png (char *data, g2int width, g2int height, g2int nbits, char *pngbuf) |
Encode PNG. More... | |
void | user_flush_data (png_structp png_ptr) |
Dummy Custom flush function. More... | |
void | user_write_data (png_structp png_ptr, png_bytep data, png_uint_32 length) |
Custom write function used to that libpng will write to memory location instead of a file on disk. More... | |
Functions for dealing with PNG.
Definition in file enc_png.c.
typedef struct png_stream png_stream |
Encode PNG.
data | data. |
width | width. |
height | height. |
nbits | number of bits. |
pngbuf | PNG buffer. |
Definition at line 81 of file enc_png.c.
References user_flush_data(), and user_write_data().
Referenced by pngpack().
void user_flush_data | ( | png_structp | png_ptr | ) |