3 ms·
Apparently only gzip and zlib compatibility is included in the code. Does anyone know if there are programs out there that allow recompressing zip or png forma
by csense 14y ago
Apparently only gzip and zlib compatibility is included in the code.
Does anyone know if there are programs out there that allow recompressing zip or png format files with this library?
- JoshTriplett 14y agoIdeally, you'd want a zlib-compatible zopfil library that you could just substitute for libz.so.1 when running an appropriate format-specific compressor that uses zlib.
- andrewf 14y agoThe "PNG crunch" programs out there - eg OptiPNG - actually do a bit more work. They'll try palette-ising a truecolor image, applying all the PNG filters (http://www.w3.org/TR/PNG-Filters.html http://www.w3.org/TR/PNG-Filters.html), etc. They also tend to use forked versions of zlib, often to expose some more internal knobs to trial-and-error on, so a zlib-compatible wrapper around zopfli wouldn't necessarily just drop in. But I'm sure support for zopfli will appear sooner rather than later :)