Crash when resizing large TIFF files

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
alexander.toth
Posts: 2
Joined: 2011-11-06T05:32:13-07:00
Authentication code: 8675308

Crash when resizing large TIFF files

Post by alexander.toth »

After upgrading ImageMagick from version 6.7.2.6 to last version, I cannot resize large TIFF files (> 30Mb) because ImageMagick crash.
The command used is:
convert file.tif -resize 1800x1800 file.png

I checked several versions of ImageMagick, the last working is 6.7.2.6 (wich is the last with LIBTIFF 3.95.2)

I think the problem is caused by LIBTIFF 4.0.0beta7

If You need TIFF files I can share it
My system is Windows 7 32 bit Enterprise with 2Gb RAm, I installed ImageMagick-6.7.3-4-Q16-windows-dll.exe

Thanks

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

Re: Crash when resizing large TIFF files

Post by magick »

Try this command:
  • convert -limit memory 0 -limit map 0 file.tif -resize 1800x1800 file.png
Does that work? If not, post a URL to your image so we can download it and reproduce the problem. We converted a 33000x33000 pixel TIFF image without complaint.
alexander.toth
Posts: 2
Joined: 2011-11-06T05:32:13-07:00
Authentication code: 8675308

Re: Crash when resizing large TIFF files

Post by alexander.toth »

Thanks, it works!
I use only -limit memory 0
If I use both -limit memory 0 and -limit map 0 the processing time is much much slower (34s instead of 4s)

Alexander
Post Reply