Page 1 of 1

No decode delegate error while using COM

Posted: 2016-07-21T06:27:55-07:00
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!