No decode delegate error while using COM

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
menteith
Posts: 10
Joined: 2015-03-30T14:49:19-07:00
Authentication code: 6789

No decode delegate error while using COM

Post by menteith »

Hi all,

In Windows when I run

Code: Select all

convert.exe source.tif -compress Group4 output.pdf
there is no error and the output is created successfully (and it is compressed). However, when I use COM I get an error:

Code: Select all

Error:  0x80041771 - 
Source:     ImageMagickObject.MagickImage.1
Description:    convert: 420: no decode delegate for this image format `' @ error/constitute.c/ReadImage/508: 

convert: 410: no images defined `' @ error/convert.c/ConvertImageCommand/3235:
My code is as follows:

Code: Select all

IM.convert(source.tif,-compress Group4,output.pdf)
What's wrong?

Thanks for help!
Post Reply