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

Unable to transcode a CMYK jpeg to jxl #3540

Open
leuk0cyte opened this issue Apr 29, 2024 · 1 comment
Open

Unable to transcode a CMYK jpeg to jxl #3540

leuk0cyte opened this issue Apr 29, 2024 · 1 comment
Labels
bug Something isn't working cjxl Related to cjxl encoder tool colorspace relates to hte use of color spaces, ICC profiles, etc unrelated to 1.0 Things that need not be done before the 1.0 version milestone

Comments

@leuk0cyte
Copy link

Describe the bug
When I do a batch jpeg transcoding, some of these images in CMYK color space cannot be transcoded

To Reproduce
1
cjxl .\1.jpg 1.jxl
JPEG XL encoder v0.10.2 e148959 [AVX2,SSE2]
Note: Implicit-default for JPEG is lossless-transcoding. To silence this message, set --lossless_jpeg=(1|0).
Encoding [JPEG, lossless transcode, effort: 7]
Error while decoding the JPEG image. It may be corrupt (e.g. truncated) or of an unsupported type (e.g. CMYK).
EncodeImageJXL() failed.

cjxl .\1.jpg 1.jxl --lossless_jpeg=0 -d 1 -v -v -v -v
JPEG XL encoder v0.10.2 e148959 [AVX2,SSE2]
Getting pixel data failed.

Expected behavior
Images are correctly transcoded. Provide more effective information in case of an error occurred.

Environment

@mo271 mo271 added bug Something isn't working cjxl Related to cjxl encoder tool unrelated to 1.0 Things that need not be done before the 1.0 version milestone colorspace relates to hte use of color spaces, ICC profiles, etc labels Apr 29, 2024
@antermin
Copy link

cjxl .\1.jpg 1.jxl

See also: #468

cjxl .\1.jpg 1.jxl --lossless_jpeg=0 -d 1 -v -v -v -v

See also: #2126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cjxl Related to cjxl encoder tool colorspace relates to hte use of color spaces, ICC profiles, etc unrelated to 1.0 Things that need not be done before the 1.0 version milestone
Projects
None yet
Development

No branches or pull requests

3 participants