Skip to content

How to purposefully create a truncated image file? #6447

Answered by nulano
addisonklinke asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the test suite images are in this repository, in the Tests directory: https://github.com/python-pillow/Pillow/tree/main/Tests/images
Some extra images are in a separate repository for various reasons: https://github.com/python-pillow/pillow-depends/tree/main/test_images

For most of the images, you should be able to click on the commit that adding them (e.g. 430e992 for the one you linked) and from there you can open the pull request adding them (#1366). For most tests added recently, there will likely be a comment explaining how the image was obtained, but there is none here, so you would likely have to ask the PR author @homm. Looking at the image, I suspect it was simply found t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@radarhere
Comment options

Answer selected by radarhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants