Name Description Size Coverage
1737038.patch 962 -
ANNOUNCE 971 -
apng.patch 49195 -
arm -
arm.patch 984 -
AUTHORS 1690 -
CHANGES 315634 -
crashtests -
intel 100 %
libpng-manual.txt 227763 -
LICENSE 5345 -
loongarch -
mips -
moz.build 2816 -
moz.yaml 1378 -
MOZCHANGES 5864 -
png.c Generate a compiler error if there is an old png.h in the search path. 135426 53 %
png.h 152118 -
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. 5342 -
pngerror.c PRIVATE 26366 46 %
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. 41983 59 %
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) 39757 -
pngmem.c Free a png_struct 8574 83 %
pngpread.c Push model modes 33203 83 %
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. 96514 -
pngread.c Create a PNG structure for reading, and allocate any memory needed. 145772 16 %
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 50 %
pngrtran.c Set the action on getting a CRC error for an ancillary or critical chunk. 171647 63 %
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. 162302 67 %
pngset.c FLOATING_POINT 62083 51 %
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. 19893 -
pngtrans.c Turn on BGR-to-RGB mapping 25333 15 %
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 38 %
pngwrite.c SIMPLIFIED_WRITE_STDIO 80027 58 %
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. 85675 77 %
powerpc -
README README for libpng version 1.6.55 9485 -
riscv -
TRADEMARK 343 -