-
Notifications
You must be signed in to change notification settings - Fork 232
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
toktx: jpeg decoder does not support four-component JPEGs. #320
Comments
JPEG images can be encoded. This .jpg file has 4 components which is not conformant with JFIF or EXIF and not supported by the jpeg decoder I am using, which is the same one as basis_universal. What was this file created with? Photoshop? What is in the 4th component? |
@MarkCallow Hello no idea how this image is created, any other image i tested worked fine |
TL;DR: The image contains lots of Photoshop-specific data and probably uses CMYK-ish color model. Here's the output from JPEGsnoop.
|
@MarkCallow A few highlights:
|
Hey,
jpg Images cannot be encoded
toktx --t2 --2d --genmipmap --nowarn --resize 512x1024 --bcmp --clevel 1 --qlevel 255 --srgb -- /tmp/gltfpack-DviPtt.ktx2 /tmp/gltfpack-ItLgGo.jpg => 512
tested with latest master from meshoptimizer with toktx master
attached is the image
The text was updated successfully, but these errors were encountered: