GoogleChromeLabs / squoosh

Make images smaller using best-in-class codecs, right in the browser.
https://squoosh.app
Apache License 2.0
21.33k stars 1.48k forks source link

Encountering certain images will cause the operation to get stuck on "Decoding..." #1385

Closed ponecrazy closed 7 months ago

ponecrazy commented 8 months ago

squoosh-cli can process photos normally until it encounters certain photos, and will be stuck in the "Decoding..." state and will not continue to execute. losinyi_ostrov

ponecrazy commented 8 months ago

squoosh-cli --mozjpeg '{"quality":85,"baseline":false,"arithmetic":false,"progressive":true,"optimize_coding":true,"smoothing":0,"color_space":3,"quant_table":3,"trellis_multipass":false,"trellis_opt_zero":false,"trellis_opt_table":false,"trellis_loops":1,"auto_subsample":true,"chroma_subsample":2,"separate_chroma_quality":false,"chroma_quality":75}'

ponecrazy commented 7 months ago

done, need to convert img model to RGB