  pngcrush is a free, open source command-line utility for optimizing png image files. it reduces the size of the file losslessly â that is, the resulting "crushed" image will have the same quality as the source image. the main purpose of pngcrush is to reduce the size of the png idat data stream by trying various combinations of compression methods and delta filters. it can also be used for various manipulations of png images, such as changing the bit depth, removing unwanted ancillary chunks, or adding certain chunks including gama, trns, iccp, and textual chunks. ==main operation== the main use of pngcrush is for reducing the size of the image data contained in the idat section. the pixel data in a png file is compressed using lz77 algorithm (which tries to find repeated byte sequences in the source data), and then further compressed with huffman algorithm. this combination is referred to as deflate compression. before compressing, non-destructive delta filters are applied on the pixel data. there are 5 possible filter types that can be specified separately on each scan line and several possible strategies for searching lz77 matches. thus, there are a very large number of different combinations for how the image can be compressed. which combination gives the best compression will depend on the individual image's properties. pngcrush compresses the image with multiple different combinations and then stores the smallest of the resulting files. since it is not possible to go through all the combinations, pngcrush uses heuristics to choose the methods to try. in the simplest form, pngcrush can be told to generate a "crushed" file from an unoptimized one by using the following format on the command line: pngcrush imagein.png imageout.png by default, pngcrush uses just a few common methods to crush the file. the opt
Free_data_compression_software Free_graphics_software Free_software_programmed_in_C