-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
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
Importing a jpg image may result in wrong colors. #92017
Comments
This comment was marked as outdated.
This comment was marked as outdated.
When the .jpg image is imported into an image editor and exported as a .jpg again, it works correctly too. It's just that the issue shouldn't be happening in the first place. |
I think that Godot Engine is probably mis-interpreting BGR/RGB for the color channels, but needs investigation why. |
I don't think I should rush a pull request but a future task is to compare the results of https://github.com/richgel999/jpeg-compressor loading with https://github.com/libjpeg-turbo/libjpeg-turbo Help welcome.
|
Tested versions
4.2.2.stable, 4.2.1.stable, 3.5.2.stable
System information
Windows 10, Windows 11
Issue description
When importing this jpg:
the colors get messed up in the preview/editor and at runtime.
This happens to any image in the zips downloaded from this site: https://www.enchor.us
The image can be found in the downloaded zip and is named
album.jpg
.Steps to reproduce
Minimal reproduction project (MRP)
MRP.zip
The text was updated successfully, but these errors were encountered: