Page 1 of 1

imagemagick crashes with tif(with JPEG) files

Posted: 2008-07-31T03:26:06-07:00
by swroop
HI,

I am using Imagemagick 6.4.2 static exe version on Windows XP SP2.

I have got some sample images, created from a scanner by using a software called "Dunord" CMP32 V2.1. The images are of type Tif (with JPEG compression). Imagemagick and the executable "convert.exe" crashes whenever I try to open those images or convert them.

Even if I try to display the information using -verbose option, the software crashes and throws a windows dialog box (Imagemagick has encountered a problem and we need to close. Please tell Microsoft about this problem)

Please try to see the issue with these file types. Will send the sample file over the mail also.

Importantly, when I use Irfan View, the same image works fine, and when I do a "Save As" of that image and try with imagemagick, it works absolutely fine.

The following info is displayed before the program crashes. I used the -verbose option
TIFF Directory at offset 0x488be (297150)
Subfile Type: (0 = 0x0)
Image Width: 906 Image Length: 1259
Resolution: 100, 100 pixels/inch
Bits/Sample: 8
Compression Scheme: JPEG
Photometric Interpretation: YCbCr
FillOrder: msb-to-lsb
YCbCr Subsampling: 2, 2
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 3
Rows/Strip: 1024
Planar Configuration: single image plane
ImageDescription: 04 TEST,06032006
Software: Dunord CMP32 V2.1
"AND THEN THE CONVERT PROGRAM CRASHES"

regds,
Swroop

Re: imagemagick crashes with tif(with JPEG) files

Posted: 2008-07-31T06:06:11-07:00
by magick
Post or PM a URL to one of your images so we can download it and reproduce the problem.

Re: imagemagick crashes with tif(with JPEG) files

Posted: 2008-07-31T06:55:55-07:00
by swroop
Hi,

Please download the sample tif. file from this location.

Image

http://rcpt.yousendit.com/593878891/1cf7f240f5c517 e686bedeb3cdf9d154

http://www.yousendit.com/download/Q01Ge ... SWV4dnc9PQ

Thanks,
Swroop

Re: imagemagick crashes with tif(with JPEG) files

Posted: 2008-07-31T08:44:16-07:00
by magick
We have a fix for the problem you reported. Look for an updated release by the end of the week. Thanks.

Re: imagemagick crashes with tif(with JPEG) files

Posted: 2008-07-31T23:23:42-07:00
by swroop
OH Great!.

Thanks for the help, will eagerly wait for the next update and download it immediately.

I will be using imagemagick on 64 bit machines. So, pls provide the updated fix on all the versions.

Many Thanks.
Swroop

Re: imagemagick crashes with tif(with JPEG) files

Posted: 2008-08-01T01:02:49-07:00
by fmw42
Interesting file. On my Mac, Photoshop and GraphicConverter would open it fine, but Debabelizer and the Mac's Preview could not handle it. I suspect it is the jpg comression in the tiff.

IM gave me this:

identify 310491F.tif
identify: compression not supported `310491F.tif'.

display 310491F.tif
display: compression not supported `310491F.tif'.


convert 310491F.tif x:
convert: compression not supported `310491F.tif'.
convert: missing an image filename `x:'.