Open Ser-Gen opened 6 years ago
I have problem with compressing an image.
With settings -quality 92 I got this file.
-quality 92
In iOS Safari, Photoshop and in some other tools this image looks a bit more glamourous
Most likely it happens because Adobe Tag of original image APP14 have a ColorTransform somehow set to 0 [Unknown (RGB or CMYK)].
APP14
ColorTransform
[Unknown (RGB or CMYK)]
Maybe show an error about wrong colorspace?
FYI Guetzli throw error before proceed image https://github.com/google/guetzli/blob/cb5e4a86f69628f685f2b78d7429e248ab83d8d7/guetzli/processor.cc#L905
Seems like they check it here https://github.com/google/guetzli/blob/0e4900983924d1936f3a0ddf9b37164543e8fb5b/guetzli/jpeg_data_decoder.cc#L25
> cjpeg -version mozjpeg version 3.2 (build 20170918)
Yes, indeed. This is probably a CMYK JPEG which isn't supported. If you can use PNG input for mozjpeg.
I have problem with compressing an image.
With settings
-quality 92
I got this file.In iOS Safari, Photoshop and in some other tools this image looks a bit more glamourous
Most likely it happens because Adobe Tag of original image
APP14
have aColorTransform
somehow set to 0[Unknown (RGB or CMYK)]
.Maybe show an error about wrong colorspace?
FYI Guetzli throw error before proceed image https://github.com/google/guetzli/blob/cb5e4a86f69628f685f2b78d7429e248ab83d8d7/guetzli/processor.cc#L905
Seems like they check it here https://github.com/google/guetzli/blob/0e4900983924d1936f3a0ddf9b37164543e8fb5b/guetzli/jpeg_data_decoder.cc#L25