1 BEGIN { $| = 1; print "1..4\n"; }
2 END {print "not ok 1\n" unless $loaded;}
9 Imager::init('log'=>'testout/t66paste.log');
11 $img=Imager->new() || die "unable to create image object\n";
15 $img->open(file=>'testimg/scale.ppm',type=>'pnm');
17 $nimg=Imager->new() or die "Unable to create image object\n";
18 $nimg->open(file=>'testimg/scale.ppm',type=>'pnm');
21 $img->paste(img=>$nimg, top=>30, left=>30) or die $img->{ERRSTR};
25 $img->write(type=>'pnm',file=>'testout/t66.ppm') || die "error in write()\n";