Parse enormous TIFs

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
User avatar
magick
Site Admin
Posts: 10996
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-06-06T15:15:08-07:00

ImageMagick can process up to terabyte images. You will need plenty of temporary free space because it stages the image to disk before writing it to the output image file.

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

Post by magick » 2006-06-07T08:32:51-07:00

Make sure you are running ImageMagick 6.2.8-0 the very latest version which has patches for large file support. If the process still fails, try
  • convert -debug cache image.tif -crop 1024x768 image-%d.png
Look at the resource requirements of the cache file to ensure you have enough disk space available. If so, the "Insufficient memory" exception may be coming from the TIFF delegate library rather than ImageMagick.

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

Post by magick » 2006-06-07T10:06:07-07:00

Make sure your Windows disk is NTFS rather than FAT. FAT is limited to 4GB,

Can you post a URL to your TIFF image. We'll need to reproduce the problem to track down its source.

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

Post by magick » 2006-06-09T13:42:42-07:00

Add -debug cache to your command line. It will tell you how much temporary disk space it requires to process you image. Also post the results of this command:
  • tiffinfo image.tif
If you don't have tiffinfo, try locating it or type
  • identify image.tif
If we know the characteristics of the image we might be able to reproduce a similar image that we can try to convert on our machines.

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

Post by magick » 2006-06-09T17:23:55-07:00

We created an image similiar to yours and it converted without complaint. We're using ImageMaick 6.2.8 on a Fedora Core 5 system with 2GB of memory and 40GB of temporary disk.

Post Reply