Name Description Size Coverage
ANNOUNCE 1386 -
CHANGES 318635 -
CMakeLists.txt 1422 -
import_from_libpng_tarball.sh 1531 -
INSTALL 19364 -
libpng-manual.txt 227757 -
LICENSE 5345 -
png.c Generate a compiler error if there is an old png.h in the search path. 135428 -
png.h 148529 -
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 -
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. 37561 -
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. 10964 -
pnglibconf.h pnglibconf.h - library build configuration 8090 -
pngmem.c Free a png_struct 8574 -
pngpread.c Push model modes 28098 -
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. 94057 -
pngread.c Create a PNG structure for reading, and allocate any memory needed. 143487 -
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. 172621 -
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. 152477 -
pngset.c FLOATING_POINT 60449 -
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. 19190 -
pngtrans.c Turn on BGR-to-RGB mapping 26220 -
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 78819 -
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. 80258 -
qt_attribution.json 1763 -
README README for libpng version 1.6.59 9485 -
REUSE.toml 1179 -