ajslater / picopt

A multi format lossless image optimizer that uses external tools
GNU General Public License v3.0
108 stars 11 forks source link

ValueError: Decompressed Data Too Large #33

Closed drmax24 closed 2 years ago

drmax24 commented 6 years ago

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 6 years ago

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.

ajslater commented 2 years ago

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.