error converting tif to jpg

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
Posts: 5
Joined: 2011-09-08T05:54:43+00:00
Authentication code: 8675308
Location: Chennai, India

error converting tif to jpg

Post by Sashi »

When i convert tif to jpg using the Image Magick COM in, an error message 'Catastropic failure...exception' is displayed.

Dim img As New ImageMagickObject.MagickImage
img = CreateObject("ImageMagickObject.MagickImage.1")

TIFF file:

Resolution: 600 dpi
Pixel dimension: 2400,4199

Please let me know the reason why the jpg is not created.

User avatar
Posts: 25562
Joined: 2007-07-03T00:14:51+00:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: error converting tif to jpg

Post by fmw42 »

Sorry I do do not use Windows and do not know the answer, but can you convert the image using command line syntax? Perhaps your TIF is corrupt?

Also for both of you, please always post your IM version and Windows platform.
Posts: 47
Joined: 2004-10-08T16:03:16+00:00
Location: Iowa

Re: error converting tif to jpg

Post by spieler »

What results do you get when you run the test script at C:\Program Files\ImageMagick-6.9.1-Q8\ImageMagickObject\Tests ?

It's also important to note what bit version your end application is. If it's 32-bit, you need install the 32-bit version of ImageMagick.
Post Reply