J
Jesse Sheidlower
I've been sent some files in TIFF format, with each file
supposedly consisting of several hundred small images
in different "frames". Each file is about 750K or so.
First of all, I've tried to view these images in several
programs, including xloadimage, the GIMP, GQView, and
some others, and there's no indication that they contain
anything more than a single image.
Second, and Perl-related, I've tried to convert these to PNG
or some other format using Image::Magick, and it is not
working. I used a very simple test script, that works on
standard TIFF files, with the suggested approach of
$x = $img->Read('image_A.tiff');
warn $x if $x;
$x = $img->Write('image_A.png');
warn $x if $x;
but when I run this, after about 30 seconds of working, I get
a "Killed" response; it doesn't get to the first "warn" stage
at all, let alone give me the nice error messages the docs
promise. I get an identical response using "convert" on the
commandline. I've looked through Martien's book with no luck.
Any suggestions for converting these files? Optimally
I suppose I'd like to get each "frame" saved as a
separate file, but right now I'll settle for finding
out what's going on.
Thanks.
Jesse Sheidlower
supposedly consisting of several hundred small images
in different "frames". Each file is about 750K or so.
First of all, I've tried to view these images in several
programs, including xloadimage, the GIMP, GQView, and
some others, and there's no indication that they contain
anything more than a single image.
Second, and Perl-related, I've tried to convert these to PNG
or some other format using Image::Magick, and it is not
working. I used a very simple test script, that works on
standard TIFF files, with the suggested approach of
$x = $img->Read('image_A.tiff');
warn $x if $x;
$x = $img->Write('image_A.png');
warn $x if $x;
but when I run this, after about 30 seconds of working, I get
a "Killed" response; it doesn't get to the first "warn" stage
at all, let alone give me the nice error messages the docs
promise. I get an identical response using "convert" on the
commandline. I've looked through Martien's book with no luck.
Any suggestions for converting these files? Optimally
I suppose I'd like to get each "frame" saved as a
separate file, but right now I'll settle for finding
out what's going on.
Thanks.
Jesse Sheidlower