Open lovasoa opened 2 months ago
Interesting, and may be relevant: the gnome file browser image previews are also decoded with incorrect colors, but the gnome image viewer gets the right colors (same as image-rs v0.24):
The problem may come from the embedded color profile in the image (Prophoto RGB) which was correctly interpreted in v0.24 and ignored in v0.25.
Here is the output of imagemagick identify:
original tile | tile with the embedded color profile stripped |
---|---|
Seems a duplicate of https://github.com/image-rs/image/issues/2247
Hello !
I don't have the time to investigate more deeply on this, but I wanted to let you know. Updating from image-rs v0.24 to v0.25 causes serious color distortions in decoded jpeg images.
This can be reproduced by compiling dezoomify-rs against the two different versions of image-rs.
I fixed the issue in dezoomify-rs by downgrading image-rs, but I thought this may be worth sharing here.
The detailed reproduction steps are here: https://github.com/lovasoa/dezoomify-rs/issues/259#issuecomment-2373567635
My best guess is that image tiles like these are not decoded properly: tiles.zip