Skip to content

WebP: Decoding makes the entire image look green #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zly2006 opened this issue Mar 4, 2025 · 1 comment
Open

WebP: Decoding makes the entire image look green #1102

zly2006 opened this issue Mar 4, 2025 · 1 comment

Comments

@zly2006
Copy link

zly2006 commented Mar 4, 2025

Describe the bug
A clear and concise description of what the bug is.

Version information

  1. The version of the TwelveMonkeys ImageIO library in use.

com.twelvemonkeys.imageio:imageio-webp:3.12.0

  1. The exact output of java --version (or java -version for older Java releases).
    For example:
openjdk 23.0.2 2025-01-21
OpenJDK Runtime Environment Homebrew (build 23.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.2, mixed mode, sharing)

Example code

    val z = ImageIO.read(File("sofa.webp"))
    // to png
    ImageIO.write(z, "png", File("sofa.png"))

Sample file(s)

original webp & decoded png.zip

decoded png:
Image

@haraldk
Copy link
Owner

haraldk commented Mar 4, 2025

Looks like a duplicate of #734

@haraldk haraldk changed the title Decoding to png: the entire image looks green WebP: Decoding makes the entire image look green Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants