Help for this page

Select Code to Download


  1. or download this
      use Image::Magick;
      ...
    ...
        $newheight = ($height*$newwidth)/$width;
        $image->Scale('width'=>$newwidth,'height'=>$newheight);
      }
    
  2. or download this
      # Adjust Resolution if necessary
      $image->SetAttribute('units'=>'PixelsPerInch');
    ...
      if ($xrez > 72 || $yrez > 72) {
        $image->SetAttribute('density'=>'72x72');
      }
    
  3. or download this
    x-resolution is 300
    y-resolution is 300
    
  4. or download this
    x-resolution is 72
    y-resolution is 72