Open rzam opened 1 year ago
Hi,
Thanks for reporting! There seems to be some kind of error that is accumulated in the vertical dimension, but I will need to investigate...
Unfortunately, I don't have any time to look into this at the moment, but I will as soon as I find the time (August/September). If you can dig some more in the mean time, that would be very helpful! 😀
as soon as I find the time (August/September).
That didn't age too well... 😛
Describe the bug I'm noticing a color distortion when reading "big" (≥ ~4k-5k pixels in width or height) and lossy (generated with
cwebp -q 75
) WEBP images and converting them to other formats.The distortion seems to be very significant when reading "long" (~5k+ pixels in height) WEBPs and less noticeable when reading "wide" (~5k+ pixels in width) WEBPs; WEBPs generated with a higher quality setting (eg.
cwebp -q 100
) seem unaffected.Version information TwelveMonkeys version (Gradle):
Java version:
OS:
cwebp version:
Example code All images in the screenshots below were read and written using the standard
ImageIO
methods, eg.:Sample file(s) sources.zip
*.cwebp.*
files were generated withcwebp
*.imageio.*
were generated via the code aboveScreenshots Example using a "long" (500x5000) gradient:
Example using a "wide" (5000x500) gradient: