|
NCEPLIBS-g2c
1.6.4
|
PNG functions. More...
Go to the source code of this file.
Typedefs | |
| typedef struct png_stream | png_stream |
| Typedef for PNG stream. More... | |
Functions | |
| int | dec_png (unsigned char *pngbuf, g2int *width, g2int *height, char *cout) |
| Decode PNG. More... | |
| void | user_read_data (png_structp png_ptr, png_bytep data, png_uint_32 length) |
| Custom read function used so that libpng will read a PNG stream from memory instead of a file on disk. More... | |
PNG functions.
Definition in file dec_png.c.
| typedef struct png_stream png_stream |
Decode PNG.
| pngbuf | Pointer to PNG buffer. |
| width | Pointer to width. |
| height | Pointer to height. |
| cout | Output buffer. |
Definition at line 71 of file dec_png.c.
References user_read_data().
Referenced by pngunpack().
| void user_read_data | ( | png_structp | png_ptr, |
| png_bytep | data, | ||
| png_uint_32 | length | ||
| ) |