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
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to