Page 1 of 1

Possible Bug : Composite not working anymore with VBScript

Posted: 2018-03-29T00:45:55-07:00
by Alexvb6
Hi,

When using the latest IM 6.9.9.40 version under Windows with VBScript, the following code leads to "Catastrophic failure"

Code: Select all

Set IMimg = CreateObject("ImageMagickObject.MagickImage.1")
	IMimg.Composite "rose:", "logo:", "c:\ljw\tsts\rose-over.png"
Set IMimg = Nothing
I was using this with the IM 6.8.5 old version, and it was working correctly.

What's the problem with the ".Composite" Imagemagick COM+ object ?
Is it deprecated ? If so, when did this occured...and what to do ?

The Docs still states that The ImageMagickObject COM+ component provides access to the compare, convert, composite, mogrify, identify, montage, and stream tools :
http://www.imagemagick.org/script/ImageMagickObject.php
or
https://legacy.imagemagick.org/script/I ... Object.php

I'm a little confused !

Re: Composite not working anymore with VBScript

Posted: 2018-03-29T08:54:19-07:00
by fmw42
Please only post to one forum.

Re: Composite not working anymore with VBScript

Posted: 2018-03-29T11:28:45-07:00
by Alexvb6
As I did not find a forum labelled "Bug with VBScript and COM+", I thought it could be useful to post in both. My excuses.

Re: Composite not working anymore with VBScript

Posted: 2018-03-29T11:32:59-07:00
by fmw42
If you think it is a bug, then post to the bugs forum for faster attention. You can even label it "Possible Bug ..." if you are not sure. If it is a question about command usage, then post to the appropriate forum for that API. Don't worry about the double post. This seems to be a bug or a change, if it was working before. But the IM developers or one of the Windows users will have to check into that. I do not use Windows, so cannot check for you.

Re: Composite not working anymore with VBScript

Posted: 2018-03-29T11:58:30-07:00
by fmw42
This seems to be reported at https://github.com/ImageMagick/ImageMagick/issues/1070. Perhaps that was you who reported it.

Re: Composite not working anymore with VBScript

Posted: 2018-03-29T12:20:57-07:00
by Alexvb6
Yes Fred, that Issue on GitHub was opened by me, as this clearly seems to be a bug.

Re: Possible Bug : Composite not working anymore with VBScript

Posted: 2018-03-29T12:23:03-07:00
by fmw42
That is a another way to get fast response to the issue.