NCEPLIBS-g2c
1.6.4
|
Contains a function to unpack data packed with PNG compression. More...
Go to the source code of this file.
Functions | |
int | dec_png (unsigned char *, g2int *, g2int *, char *) |
Decode PNG. More... | |
g2int | pngunpack (unsigned char *cpack, g2int len, g2int *idrstmpl, g2int ndpts, g2float *fld) |
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010. More... | |
Contains a function to unpack data packed with PNG compression.
Definition in file pngunpack.c.
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().
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
cpack | The packed data field (character*1 array). |
len | length of packed field cpack(). |
idrstmpl | Pointer to array of values for Data Representation Template 5.41 or 5.40010. |
ndpts | The number of data values to unpack. |
fld | Contains the unpacked data values. |
Definition at line 30 of file pngunpack.c.
References dec_png(), gbits(), int_power(), and rdieee().
Referenced by g2_unpack7().