When i convert tif to jpg using the Image Magick COM in VB.net, an error message 'Catastropic failure...exception' is displayed.
Dim img As New ImageMagickObject.MagickImage
img = CreateObject("ImageMagickObject.MagickImage.1")
img.convert("Convert","D:\test.tif","D:\test.jpg")
TIFF file:
Resolution: 600 dpi
Pixel dimension: 2400,4199
Please let me know the reason why the jpg is not created.
thanks,
Sashi
error converting tif to jpg
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: error converting tif to jpg
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.
Also for both of you, please always post your IM version and Windows platform.
Re: error converting tif to jpg
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.
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.