imagemagick crashes with tif(with JPEG) 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
swroop

imagemagick crashes with tif(with JPEG) files

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

Re: imagemagick crashes with tif(with JPEG) files

Post by magick »

Post or PM a URL to one of your images so we can download it and reproduce the problem.
swroop

Re: imagemagick crashes with tif(with JPEG) files

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

Re: imagemagick crashes with tif(with JPEG) files

Post by magick »

We have a fix for the problem you reported. Look for an updated release by the end of the week. Thanks.
swroop

Re: imagemagick crashes with tif(with JPEG) files

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: imagemagick crashes with tif(with JPEG) files

Post 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:'.
Post Reply