ValueError: Decompressed Data Too Large
drmax24 opened this issue · comments
drmax24 commented
When bulk optimizing images on my server i've got error for some of my files:
ValueError: Decompressed Data Too Large for originals.
Can i do anything about it? I have 64 of GB Ram...
drmax24 commented
picopt -Mr *
In theory, it should remove exif. but it can not start because exif is too big probably for it to handle. As far as I understand.
AJ Slater commented
I'd need a sample image to experiment with.
Occasionally some images will trigger the Pillow image library's compression bomb defense and will be skipped.