Basically, I'm trying to emulate this (apparently working) command line in Perl:
convert imresizetest.gif -coalesce -thumbnail 223x132 -layers Optimize imresizetest-thumb.gif
And yes, that command line does drop the file size, as you can see if you feed it http://www.bit0.com/tmp/imresizetest.gif ...
Search found 2 matches
- 2016-03-10T10:11:52-07:00
- Forum: PerlMagick
- Topic: Perl API: animated GIF thumbnailing/optimization issues
- Replies: 3
- Views: 18676
- 2016-03-10T09:50:25-07:00
- Forum: PerlMagick
- Topic: Perl API: animated GIF thumbnailing/optimization issues
- Replies: 3
- Views: 18676
Perl API: animated GIF thumbnailing/optimization issues
Having some trouble resizing animated GIFs using the Perl Image::Magick module.
ImageMagick 6.9.3-4 built from FreeBSD ports. (They don't have 6.9.3-7 just yet.)
my $imgobj = Image::Magick->new;
$imgobj->Read(blob => $some_animated_gif_data);
$imgobj = $imgobj->Coalesce();
my $newimgobj = $imgobj ...
ImageMagick 6.9.3-4 built from FreeBSD ports. (They don't have 6.9.3-7 just yet.)
my $imgobj = Image::Magick->new;
$imgobj->Read(blob => $some_animated_gif_data);
$imgobj = $imgobj->Coalesce();
my $newimgobj = $imgobj ...