Skip to content
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

Decoding fails for images with 4:2:0 chroma subsampling #26

Open
passivestar opened this issue Jun 4, 2024 · 1 comment
Open

Decoding fails for images with 4:2:0 chroma subsampling #26

passivestar opened this issue Jun 4, 2024 · 1 comment

Comments

@passivestar
Copy link

Some textures found online are using 4:2:0 chroma subsampling and they can't be decoded in Godot, while every other app has no trouble with them

More context here:
godotengine/godot#91600

Problematic image from the link above:
https://github.com/user-attachments/files/15511511/new_test.zip

@Calinou
Copy link

Calinou commented Jun 4, 2024

I don't think decoding fails with every 4:2:0 image. Otherwise, most JPEGs encoded with quality < 90 would fail to load (many apps automatically use 4:2:0 for all quality levels < 90).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants