Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

fix IOError: image file truncated” with big image #488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JirenJin
Copy link

If the image size is too large, then such error will occur:
OSError: image file is truncated (13 bytes not processed).

The solution I found from stackoverflow: https://stackoverflow.com/questions/12984426/python-pil-ioerror-image-file-truncated-with-big-images.

I tested it and it actually works.

@Hakuyume
Copy link
Member

Thank you.
Could you add tests for such large images?

@knorth55 knorth55 added the bug label Sep 8, 2018
@knorth55 knorth55 added this to the 0.12 milestone Nov 1, 2018
@knorth55 knorth55 modified the milestones: 0.12, 0.13 Feb 2, 2019
@yuyu2172 yuyu2172 modified the milestones: 0.13, 1.0 May 21, 2019
@knorth55 knorth55 removed this from the 1.0 milestone Dec 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants