In computer programming, Image::Pngslimmer
is a Perl module of functions to reduce the size of PNG computer graphics. The module offers several basic functions, including:
zlibshrink
– which uses Perl's zlib implementation to attempt to better compress a PNG's IDAT (image data)filter
– to apply adaptive filtering to the PNG's IDAT to help improve compressiondiscard_noncritical
– to remove non-critical chunks if they existpalettize
– to use a colour palette, possibly through colour quantization using the median cut algorithm