-
Notifications
You must be signed in to change notification settings - Fork 87
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
Failed to decode progressive JPEG #130
Comments
Can you provide an image that triggers the error ? If possible, the image should not be copyrighted so that it can be redistributed freely with the test data for this repository. |
Sorry, i can't do it because images that the problem occurs are owned by our customers. |
I had the same issue with one specific image from my collection. This picture has been taken with a Samsung Galaxy J3 (SM-J320FN). Version: Code: fn main() {
let file = File::open("/home/enz/Images/bug_imgrust.jpg").expect("failed to open file");
let mut decoder = jpeg::Decoder::new(BufReader::new(file));
let pixels = decoder.decode().expect("failed to decode image");
let metadata = decoder.info().unwrap();
} Error:
For this particular image of my collection, the
I don't know if that SOS stuff can have a relationship with the present problem. Maybe it's just a coincidence, but just in case, it can be worth mentioning. I can send you the picture by email (I appear in this photo). |
Finally I find image which cause this error - 20190821_154545.jpg.zip |
+1 -- we're seeing this in our app, too. |
spectral selection is not allowed in non-progressive scan
Error.convert
command in Linux displayedInvalid SOS parameters for sequential JPEG
warning but the image was generated successfully.may be relevant
The text was updated successfully, but these errors were encountered: