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

question: is progressive encoding supported? #3

Open
palmerabollo opened this issue Sep 18, 2022 · 1 comment
Open

question: is progressive encoding supported? #3

palmerabollo opened this issue Sep 18, 2022 · 1 comment

Comments

@palmerabollo
Copy link

Thanks for this project.

Reading the README it is not clear to me whether progressive JPEG images are supported. Could you please clarify that?

(I'd like to try this lib it in a ESP32 with limited resources, where adding many dependencies is problematic).

@lifthrasiir
Copy link
Owner

Your question can be interpreted in two ways, and the answer for both questions is "right now, no" but for different reasons:

  • Progressive JPEG images are treated like an ordinary JPEG image when libjxl transcodes them into JPEG XL (they can be losslessly reconstructed, but it won't be progressive unless -p is given to cjxl). J40 can't yet handle any such transcoded images (Support images transcoded from JPEG #5).
  • J40 currently doesn't support any progressive image encoded with cjxl -p (Support progressive images #4).

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