chainercv icon indicating copy to clipboard operation
chainercv copied to clipboard

fix IOError: image file truncated” with big image

Open JirenJin opened this issue 6 years ago • 1 comments

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.

JirenJin avatar Nov 13 '17 13:11 JirenJin

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

Hakuyume avatar Nov 13 '17 23:11 Hakuyume