SYNOPSIS
use Imager;
my $img = Imager->new;
$img->read(file=>"foo.gif")
or die $img->errstr;
$img->write(file => "foo.gif")
or die $img->errstr;
use Imager;
my $img = Imager->new;
$img->read(file=>"foo.gif")
or die $img->errstr;
$img->write(file => "foo.gif")
or die $img->errstr;