Package: zopfli
Version: 1.0.1+git160119-2

Thanks for adding zopflipng to the package. However, I just found one
scenario in which it gives undesirable results. That is with small
images (<4K of uncompressed image data) that only use shades of gray
(and optionally an alpha channel). There is an optimization in the
code for such small images, however that optimization enforces RGB(A)
color mode, which therefore causes unnecessary large files if there
are only shades of gray in the image. I already reported this bug
upstream [1]. However, upstream development seems to be stalled. The
last commit was a year ago, while the numbers of issues are growing.
So I wonder if you would consider adding patches to fix bugs like this
to the Debian package? For this particular bug, you find the patch (it
is a tiny change) inline in my comment on the upstream issue.

[1]: https://github.com/google/zopfli/issues/34#issuecomment-300523295

Reply via email to