google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.9k stars 976 forks source link

Cannot Compress Binary Images #274

Open Sahil-5111998 opened 1 year ago

Sahil-5111998 commented 1 year ago

When I am giving binary images in png format every time it is getting aborted, does it not support binary image compression or some specific format is to be provided for binary images?

doterax commented 1 year ago

I continue supporting guetzli with CUDA in my fork you can try there and if bug reproduses file me an issue witn not working PNG image.

jyrkialakuijala commented 1 year ago

Another practical alternative is to use 'jpegli' which is an emerging high-speed JPEG1 encoder/decoder based on our guetzli learnings. Jpegli is available at jpeg xl repository: https://github.com/libjxl/libjxl/tree/main/lib/jpegli

doterax commented 1 year ago

@javiergutierrezchamorro FYI

In case you haven't used it yet.

javiergutierrezchamorro commented 1 year ago

Sure @doterax FileOptimzer is using your guetzli-cuda-opencl. Regarding jpegli, since it is a transcoder, changing the original format, it has no fit on FO.