You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
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! 😀
haraldk
changed the title
Significant color distortion on "long" and lossy WEBP images
WebP: Significant color distortion on "long" and lossy images
Aug 22, 2023
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:
The text was updated successfully, but these errors were encountered: