in reply to Imager::GIF seems broken
I can't speak for Imager::GIF, but simply replacing it with Imager in your example works without issue.
#!/usr/bin/perl use strict; use warnings; use Imager; my $gif = shift || die 'need an image'; my $img = Imager->new; $img->read(file => $gif) or die $img->errstr; $img = $img->scale(scalefactor => 0.5); $img->write(file => join '.', $gif, 'half', 'gif') or die $img->errstr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Imager::GIF seems broken
by Anonymous Monk on Jan 05, 2020 at 15:50 UTC | |
by marto (Cardinal) on Jan 05, 2020 at 15:59 UTC | |
by Anonymous Monk on Jan 05, 2020 at 16:24 UTC | |
by marto (Cardinal) on Jan 07, 2020 at 10:10 UTC |