The "/3.0/x86/Iranian-Edi..ranian-Edition/Final" file could not be found or is not available. Please select another file.
Looking for the latest version? Download apngopt-1.1-src.zip (11.9 kB)
Home / libpng / examples
Name Modified Size Status
Parent folder
Totals: 2 Items   26.0 kB
code_examples.zip 2012-04-05 25.0 kB 24 downloads
LICENSE_README.md 2012-04-04 1.0 kB 6 downloads

License for all code examples : zlib license


load1png.c : loads static PNG file, using high-level png_read_png() function.

load2png.c : loads static PNG file, using low-level libpng functions.

load3apng.c : loads APNG frames "as is", no composition.

load4apng.c : loads APNG with frames composition (blend and dispose operations)

load5apng.c : loads APNG file, saves all frames as PNG, no frames composition. (!) works without apng patch (!)

load6apng.c : loads APNG file, saves all frames as PNG (32bpp), with frames composition. (!) works without apng patch (!)

rgb2gray.c : converts any APNG to greyscale APNG.

save1png.c : saves static PNG file, using regular unpatched libpng.

save2apng.c : saves animated PNG file, using apng-patched libpng.


To compile and test everything:

make

make test

Source: LICENSE_README.md, updated 2012-04-04