jpeg-decoder
jpeg-decoder copied to clipboard
Failed to decode the image below:
http://www.filedropper.com/test_17
thread 'main' panicked at 'failed to decode image: Format("no data found")', src/libcore/result.rs:997:5
This is the same bug as described in image-rs/image#738
I can't seem to get an image from the filedropper link. Did it expire?
Update: There is a working image link in image-rs/image#738 .
@kaksmet Hi.
I encountered spectral selection is not allowed in non-progressive scan
Error.
convert
command in Linux displayed Invalid SOS parameters for sequential JPEG
warning but the image was generated successfully.
Can i get same behavior in this crate?
When I looked at the Exif of the image in question, it was taken with the following hardware.
samsung SCV36 samsung SC-02G samsung SC-05G
We handle a myriad of jpeg files, and some of them have been confirmed.
This question is may be relevant
https://stackoverflow.com/questions/48653584/cannot-load-jpeg-with-java-created-by-samsung-phone
@fintelia Do you have any plans to address this issue in the future? I don't have any skills for jpeg encoding so all i can do is provide information, sorry.
@alu : I don't think this is the same issue. The issue here is about the no data found
error generated when a progressive JPEG image lacks a final scan. Maybe you should open another issue.
More sample issues triggering this behavior can be found in https://github.com/image-rs/image/issues/1234
FWIW this is the only error triggered on the archive.org wallhaven dataset, which is the largest easily downloadable dataset of real-world images I could find (100,000 files, 76Gb).
There are also machine learning datasets, but those tend to be heavily preprocessed so they don't show much variance in encoding options.