Well, I found a way to go:
When resizing an animated gifuse is Magick::coalesceImages()not the best way ...
Instead, I process according to the percentage, not the absolute size, skipping the call Magick::coalesceImages().
For example, let's say my original animated one gifis 300x300, and I want to resize it to 150x150, I will do the following:
- Read the image in
Magick::Blob - Calculate percentage numbers (50% x50% in my demo case).
- .
, , Magick::coalesceImages(), , .