Expose zlib strategy '4' for fixed Huffman blocks
Advanced PNG optimization program
Status: Beta
Brought to you by:
cosmin
The zlib strategy zs may only be specified for 0-3, where:
0. Z_DEFAULT_STRATEGY
1. Z_FILTERED
2. Z_HUFFMAN_ONLY
3. Z_RLE
... and...
4. Z_FIXED
Using zs4 might be useful for some small images, where static /fixed Huffman Tables are used.
It should be available at least for experimentation.
From further testing with OptiPNG v0.7.7, it seems zlib strategies
0and1both can produce files with static Huffman blocks. I'm not sure what is happening internally in zlib with those strategy modes to enable this...