TIFF conversion with Image::Magick

From: Jesse Sheidlower (jester_at_panix.com)
Date: 10/17/03


Date: 17 Oct 2003 16:00:19 -0400


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



Relevant Pages

  • Re: Help! Trying to MERGE several images into one image.
    ... sounds like it might be easier to just take one of the frames and use ... I have a digital rendition of a VHS video in my collection. ... It is a recording of a cartoon, ... isolated a sequence of VHS "frames" as 720x480 images (deinterlaced ...
    (alt.graphics.photoshop)
  • Re: New old pictures...
    ... It does a great job with reflective images (i.e. scanning photos), and a reasonable job with negatives. ... If the negatives are cut correctly, it can scan two strips with 6 frames each at once and it automatically recognizes the frames to split and crop them. ... Yep, given the desired results, which are either photos for a web or HDTV-based slide show or even a replacement 4x6 snapshot for the photo album, there is no reason to really go beyond 2400dpi. ...
    (rec.arts.disney.parks)
  • Re: Dpreview decries the high cost of in-lens I.S.
    ... The resolution loss and CA addition to IS/VR lenses are both negligible. ... magenta/green spread on one side of the frames, ... Most apparent too (in these initial discovery images) when the distant ...
    (rec.photo.digital.slr-systems)
  • Re: Wordart Troubles
    ... The first two HTML links don't go anywhere. ... Are your Word Art images gifs? ... Frames and Photo Galleries ... ... > bottom bookmarks in the photo gallery frames. ...
    (microsoft.public.frontpage.client)
  • Bad practice with an MFC thread? How can I improve it?
    ... filling a ring buffer with images, and on a given signal (which I've put in ... time on updating the frames, ... StopCapture is the function, within the class, that handles counting frames ...
    (microsoft.public.vc.mfc)

Loading