pilkit icon indicating copy to clipboard operation
pilkit copied to clipboard

Gif animated handling bug

Open xvolte opened this issue 4 years ago • 2 comments

Hello,

When using Gif animated images, the processors remove the "animated" part of the gif and only resize the first frame of the gif.

Is there a way not to loose animated content ?

Thanks in advance,

xvolte avatar Nov 13 '20 09:11 xvolte

Hello,

I've never used animated gifs with pilkit and with PIL/Pillow in general and I'm not sure how they are handled there.

If you have some time to investigate it and prepare a patch I will be very glad.

vstoykov avatar Dec 12 '20 15:12 vstoykov

After some research I found this stackoverflow thread where some solution is given. It needs to be adapted for pilkit. There need to be a generic way of doing this for all processors instead copy pasting the same logic for every processor.

vstoykov avatar Jan 12 '21 21:01 vstoykov