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

JPEG decoder failing on images exported from Adobe Light Room #20

Open
mansant opened this issue Apr 20, 2021 · 0 comments
Open

JPEG decoder failing on images exported from Adobe Light Room #20

mansant opened this issue Apr 20, 2021 · 0 comments

Comments

@mansant
Copy link

mansant commented Apr 20, 2021

Unfortunately the jpeg decoder seems to be having problems with jpeg images exported from Light Room. Attached is a sample jpg which exhibits the issue. The "jpgd" decoder cannot process it, but "stbi_load" works correctly on it. I may eventually find the time to fix it myself, but if somebody gets to it quicker than I can, that would be awesome...

pexels-fiona-art-3631430-2-LR

[Console output]
C:\Users\gerai\source\repos\jpeg-compressor\bin>jpge.exe -d pexels-fiona-art-3631430-2-LR.jpg lr.tga
jpge/jpgd example app
Using jpgd::decompress_jpeg_image_from_file
Failed loading JPEG file "pexels-fiona-art-3631430-2-LR.jpg"!

C:\Users\gerai\source\repos\jpeg-compressor\bin>jpge.exe -d -s pexels-fiona-art-3631430-2-LR.jpg lr.tga
jpge/jpgd example app
Using stbi_load
Source JPEG file: "pexels-fiona-art-3631430-2-LR.jpg", image resolution: 3648x2736, actual comps: 3
Decompression time: 841.441ms
Wrote decompressed image to TGA file "lr.tga"
Success.

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

1 participant