Unable to read multipage TIFF file past page 6459

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
BarbaraValenzuela
Posts: 1
Joined: 2019-07-10T21:55:16-07:00
Authentication code: 1152

Unable to read multipage TIFF file past page 6459

Post by BarbaraValenzuela » 2019-07-10T21:58:24-07:00

Hello,

I have a 20GB multipage TIFF file whose individual pages I want to extract and save. I seem to be running into problem after page 6549. Using the command magick convert -quiet "input.tiff[6550-7000]" "output%d".tiff ,
I get the following error convert: too many exceptions (exception processing is suspended) @ error/exception.c/ThrowException/969.

Is this because of the 4GB limit on the maximum TIFF file size? Is there a workaround using BigTiff? I'm using ImageMagick-7.0.8

Any help is much appreciated.

User avatar
magick
Site Admin
Posts: 10996
Joined: 2003-05-31T11:32:55-07:00

Re: Unable to read multipage TIFF file past page 6459

Post by magick » 2019-07-11T04:53:33-07:00

Try this command:

Code: Select all

magick -limit memory 2GB -limit map 4GB -quiet "input.tiff[6550-7000]" "tiff64:output%d".tiff

User avatar
fmw42
Posts: 25138
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Unable to read multipage TIFF file past page 6459

Post by fmw42 » 2019-07-11T09:07:40-07:00

For IM 7, I think you should just use magick, not magick convert. For IM 6, use just convert.

Post Reply