ImageMagickObject error: 0x80041771

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
stronky

ImageMagickObject error: 0x80041771

Post by stronky »

I trying to call ImageMagick from vbscript

I installed ImageMagick-6.4.1-6-Q16-windows-dll.exe and now i try to run the testscript:
"cscript SimpleTest.vbs" gives a runtime error -2147215503. When I remove the " 'On Error Resume Next " in SimpleTest.vbs i get the message:

ImageMagickObject.MagickImage.1: 0x80041771

These are the lines of code:

Dim img
Dim msgs
Set img = CreateObject("ImageMagickObject.MagickImage.1")
msgs = img.Convert("logo:","-format","%m,%h,%w","logo.jpg")
MsgBox "info: " & msgs


Any clues?

Regards,
Leonard
Post Reply