Help for this page

Select Code to Download


  1. or download this
    sub resize {
            my $img=shift;
    ...
            $img->Resize(geometry=>$geometry);
            return $img;
    }
    
  2. or download this
            my $tmppic=resize($pic,$sizes{$size});
    and:
                $ret=$tmppic->Write("jpeg:$dest");
            my $tmpheight=$pic->Get('columns');
            print "Orig: $tmpheight . Write to $tmppic $dest returned $ret
    +<BR>";