error converting tif to jpg
Posted: 2012-03-09T05:39:18-07:00
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
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