Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use Image::Magick;
    ...
    ($width, $height, $size, $format) = $image->Ping($x); 
    print $width,"\n", $height,"\n" ,$size,"\n", $format,"\n";
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    $rc = $bg->Write("$ARGV[0]-resized.png");
    die $rc if $rc;