-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
JPEGs recognised as MPOs #4603
Comments
Hi. Could you give us a self-contained example, with an image? I'm interested in looking at your specific file, to be able to talk about whether it is truly an MPO or not, and It would be good to know exactly what is meant by 'exploded'. Also, what Pillow version are you using? |
Looking at the discussion in #1198, it seems to conclude that the image in question is actually an MPO. |
Look at #1138 which is the same issue. This has the image example which is
not a MPO
|
As per a comment in #1198, if you run exiftool on 'bob 15.jpg', part of the results are
You can read in the Multi-Picture format documentation about the 'Dependent child image' and 'Large Thumbnail' values. If you feel that it should be a JPEG because the extension is '.jpg', the same documentation states that
Also, as a general rule, Pillow does not interpret images according to their file extensions. It reads the data and acts accordingly. |
To be clear, when I talk about 'bob 15.jpg', that is the image from #1138 |
Closing, since all available information says that the relevant image is an MPO, and no argument has been presented otherwise. This can be re-opened if there is a discussion to be had, but at the moment there is nothing to do. |
Unsure why issue #1198 was closed as it is still a bug, learned this the hard way when a user tried to upload a JPEG and Pillow mistook it for a MPO and exploded.
The text was updated successfully, but these errors were encountered: