Name Description Size
1737038.patch 962
ANNOUNCE 1347
apng.patch 49281
arm
arm.patch 984
AUTHORS 1467
CHANGES 312231
crashtests
intel
libpng-manual.txt 228310
LICENSE 5345
loongarch
mips
moz.build 2639
moz.yaml 1365
MOZCHANGES 5864
png.c Generate a compiler error if there is an old png.h in the search path. 135132
png.h 151714
pngconf.h else includes may cause problems 22673
pngdebug.h Define PNG_DEBUG at compile time for debugging information. Higher numbers for PNG_DEBUG mean more debugging information. This has only been added since version 0.95 so it is not implemented throughout libpng yet, but more support will be added as needed. png_debug[1-2]?(level, message ,arg{0-2}) Expands to a statement (either a simple expression or a compound do..while(0) statement) that outputs a message with parameter substitution if PNG_DEBUG is defined to 2 or more. If PNG_DEBUG is undefined, 0 or 1 every png_debug expands to a simple expression (actually ((void)0)). level: level of detail of message, starting at 0. A level 'n' message is preceded by 'n' 3-space indentations (not implemented on Microsoft compilers unless PNG_DEBUG_FILE is also defined, to allow debug DLL compilation with no standard IO). message: a printf(3) style text string. A trailing '\n' is added to the message. arg: 0 to 2 arguments for printf(3) style substitution in message. 5414
pngerror.c PRIVATE 29585
pngget.c png_handle_PLTE() may have canceled a valid tRNS chunk but left the 'valid' flag for the detection of duplicate chunks. Do not report a valid tRNS chunk in this case. 41982
pnginfo.h INTERNAL, PRIVATE definition of a PNG. png_info is a modifiable description of a PNG datastream. The fields inside this structure are accessed through png_get_<CHUNK>() functions and modified using png_set_<CHUNK>() functions. Some functions in libpng do directly access members of png_info. However, this should be avoided. png_struct objects contain members which hold caches, sometimes optimised, of the values from png_info objects, and png_info is not passed to the functions which read and write image data. 11362
pnglibconf.h Limit image dimensions (bug #251381, #591822, #967656, and #1283961) 39474
pngmem.c Free a png_struct 8547
pngpread.c Push model modes 32955
pngpriv.h The symbols declared in this file (including the functions declared as extern) are PRIVATE. They are not part of the libpng public interface, and are not recommended for use by regular applications. Some of them may become public in the future; others may stay private, change in an incompatible way, or even disappear. Although the libpng users are not forbidden to include this header, they should be well aware of the issues that may arise from doing so. 93335
pngread.c Create a PNG structure for reading, and allocate any memory needed. 141658
pngrio.c Read the data from whatever input you are using. The default routine reads from a file pointer. Note that this routine sometimes gets called with very small lengths, so you should implement some kind of simple buffering if you are using unbuffered reads. This should never be asked to read more than 64K on a 16-bit machine. 3898
pngrtran.c Set the action on getting a CRC error for an ancillary or critical chunk. 169732
pngrutil.c The minimum 'zlib' stream is assumed to be just the 2 byte header, 5 bytes minimum 'deflate' stream, and the 4 byte checksum. 162709
pngset.c FLOATING_POINT 62083
pngstruct.h zlib.h defines the structure z_stream, an instance of which is included in this structure and is required for decompressing the LZ compressed data in PNG files. 19905
pngtrans.c Turn on BGR-to-RGB mapping 25332
pngwio.c Write the data to whatever output you are using. The default routine writes to a file pointer. Note that this routine sometimes gets called with very small lengths, so you should implement some kind of simple buffering if you are using unbuffered writes. This should never be asked to write more than 64K on a 16-bit machine. 5588
pngwrite.c SIMPLIFIED_WRITE_STDIO 80208
pngwtran.c Pack pixels into bytes. Pass the true bit depth in bit_depth. The row_info bit depth should be 8 (one pixel per byte). The channels should be 1 (this only happens on grayscale and paletted images). 15336
pngwutil.c Arrays to facilitate interlacing - use pass (0 - 6) as index. 85703
powerpc
README README for libpng version 1.6.48 9343
TRADEMARK 343