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

jxl problems #893

Closed
JackDropHammer opened this issue Mar 18, 2024 · 12 comments
Closed

jxl problems #893

JackDropHammer opened this issue Mar 18, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@JackDropHammer
Copy link

JackDropHammer commented Mar 18, 2024

Describe the bug
So, it seems like the jxl decoder is brokern, not the encoder but the decoder. If you convert an image to jxl (lossy/lossless) it comes out correct(checked by using a browser) but the preview is simply incorrect (horrible quality with tons of artifact).
If you try viewing the image in the app the same problem occurs. Comparison here;
Screenshot-2024-03-18-21-08-24-090-ru-tech-imageresizershrinker-1.jpg
(full size image:- https://postimg.cc/1fKMBZsq)

It doesn't end there because if you convert from jxl to any other format, the image will look the same as in preview. So the image will become horrible.

This same problem seems to present in avif. (full size image :- https://postimg.cc/5jzsHR0Z)
Screenshot-2024-03-18-21-20-08-568-ru-tech-imageresizershrinker-1.jpg

EDIT:- I haven't tested any of this in programs like imagemagick(sorry)
To Reproduce
Same as above

Expected behavior
Normal images, same as they entered

Screenshots
Given above

Smartphone (please complete the following information):

  • Device: Redmi note 10 pro max
  • OS: Android 10 (miui 12.5)
  • EDIT 2 :- Device doesn't have hardware acceleration for avif and jxl
@JackDropHammer JackDropHammer added the bug Something isn't working label Mar 18, 2024
@kremzli
Copy link

kremzli commented Mar 19, 2024

Can reproduce with jxl on version 2.7.1-beta01-foss(128). Images are encoded properly but decoding shows wrong colors, the quality is the same, converting jxl image (from ImageToolbox / jxl-coder) to png does not show the wrongly decoded result

Cannot reproduce with avif

What version are you on?

@T8RIN
Copy link
Owner

T8RIN commented Mar 20, 2024

Maybe it's fixed in jxl coder 2.1.6

@T8RIN
Copy link
Owner

T8RIN commented Mar 20, 2024

I'll close for now, wainting for updates

@kremzli
Copy link

kremzli commented Mar 20, 2024

@T8RIN
Copy link
Owner

T8RIN commented Mar 21, 2024

Maybe, btw i updated to this version now

@kremzli
Copy link

kremzli commented Mar 28, 2024

my first comment is still happening (with 2.7.1 beta 2)

@T8RIN
Copy link
Owner

T8RIN commented Mar 28, 2024

Anyways that's not handled by me

@kremzli
Copy link

kremzli commented Mar 28, 2024

Cannot reproduce outside of ImageToolbox awxkee/jxl-coder#16

@T8RIN T8RIN reopened this Mar 28, 2024
@jonnyawsom3
Copy link

May be fixed now by b1d18ba

@T8RIN
Copy link
Owner

T8RIN commented Mar 31, 2024

Check out the latest build, it should be solved

@JackDropHammer
Copy link
Author

Check out the latest build, it should be solved

Does indeed seems to be fixed, thank you very much!

@OkyDooky
Copy link

I don't quite have the color issue, but the preview in "compare" (on the right siide of the slider) shows what looks like a noticeably lower resolution version with tons of aliasing. I just started using the app, so I can't compare it to before previous fixes to this issue to see if it's the same. I don't want to necro if it's not necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants