Help for this page

Select Code to Download


  1. or download this
    my $thumb= new Image::Magick;
    open(IMAGE, "</path/$photof");
    ...
    close(IMAGE);
    $thumb->Resize(geometry=>'120X90');
    $thumb->Write("/path/thumb_$photof");
    
  2. or download this
    my ($height,$width) = $thumb->Get('width','height);