[magick-users] Converting TIFF files

Ian Docherty magick at iandocherty.com
Thu Jul 12 13:21:10 PDT 2007


Hi
I have a large number (about 2500) TIFF images, many of which are 
multi-page images and I need to extract each image and save it as a new 
file, also in TIFF.

I note that although Image Magick supports TIFF there is not much 
information on how to do this.

If coding is required I would probably do this in Perl using the CPAN 
Image::Magick module.

Since I am just starting out with IM I was hoping that I could be 
pointed at a few resources that would help me on my way.

I have installed Image Magick onto my windows system together with 
Image::Magick for Active State Perl.

I have the following perl program.

use strict;
use Data::Dumper;

use Image::Magick;

my $image = new Image::Magick;
open(IMAGE, 'image0.tif');
$image->Read(file=>\*IMAGE);
close(IMAGE);

But when I run it I get the error 'perl.exe has generated errors and 
will be closed by Windows'

Regards
Ian Docherty


More information about the Magick-users mailing list