Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 1d0196e9d96d99d04de566dd780623f7 > files > 214

perl-Imager-0.970.0-2.mga4.x86_64.rpm

#!perl -w
use strict;
use Test::More tests => 1;
use Imager;
use Imager::Test qw(test_image);

-d "testout" or mkdir "testout";

# checks that we load the ICO write handler automatically
my $img = test_image();
ok(Imager->write_multi({ file => 'testout/icomult.ico' }, $img, $img),
   "write_multi ico with autoload")
  or print "# ",Imager->errstr,"\n";