Help for this page

Select Code to Download


  1. or download this
       # png good, gif bad
       print img({-src    => 'http://myserver/image.png',
                  -width  => '500',
    ...
                  -alt    => 'My Image',
                  -title  => 'This is my image',
                  });
    
  2. or download this
       use strict;
       use Image::Magick;
       my $image  = Image::Magick->new();
    ...
       $x         = $image->Write(filename  =>'image-th.png', 
                                  quality   =>75);
       @$image    = ();