Page 1 of 1

large tiff ping problem.

Posted: 2014-12-09T00:34:28-07:00
by wizard29
Hi.
I will try to describe a problem.
Before the start to read an image I call the Magick::Image::ping function. The source file in this case is located on the another machine in our local network. From time to time I caught the application crashes in this case into the Magick::Image::ping function. An exception contains the "Not enough memory" message or somthing like this. The Magick::Image::ping call takes an extremely long time. What can it be?

source image (warning: the image file is about 475Mb)

I use IM 6.9.0 + Magick++.

Re: large tiff ping problem.

Posted: 2014-12-22T16:50:51-07:00
by dlemstra
The image you provided contains a really large 'tiff:37724' profile. We made some changes to improve parsing that file. Identify now only takes half a second instead of 10 seconds on my machine. But on a machine with limited memory you might still get the 'Not enough memory' error because the profile is that large.

Re: large tiff ping problem.

Posted: 2014-12-22T18:16:04-07:00
by magick
The simplest solution is to skip reading the TIFF profiles if ping is enabled. We'll get a patch into ImageMagick 6.9.0-1 Beta by sometime tomorrow.

Re: large tiff ping problem.

Posted: 2015-09-21T23:40:58-07:00
by SanjayJadhav
Hi Guys,
Even I am trying to conver a large tiff file using Imagemagick.
But when I give a convert commad the conversion fails with no message.
Can you please let me know the probable cause.

Re: large tiff ping problem.

Posted: 2015-09-22T03:59:04-07:00
by dlemstra
Can you provide us with the tiff that has this problem? Feel free to contact me through a PM if you don't want to share it publicly.