ajslater / picopt

A multi format lossless image optimizer that uses external tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Decompressed Data Too Large

drmax24 opened this issue · comments

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...

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.

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.