Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    binmode $f;
    
    print $f $dest->jpeg(80);
    
  2. or download this
    my $dest = GD::Image->new($destw, $desth);
    $dest->copyResampled($src,0,0,0,0,$destw+1,$desth+1,$srcw,$srch);