Possible Bug : Composite not working anymore with VBScript

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Possible Bug : Composite not working anymore with VBScript

Post 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 !
Last edited by Alexvb6 on 2018-03-29T12:22:08-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Composite not working anymore with VBScript

Post by fmw42 »

Please only post to one forum.
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Re: Composite not working anymore with VBScript

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Composite not working anymore with VBScript

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Composite not working anymore with VBScript

Post by fmw42 »

This seems to be reported at https://github.com/ImageMagick/ImageMagick/issues/1070. Perhaps that was you who reported it.
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Re: Composite not working anymore with VBScript

Post by Alexvb6 »

Yes Fred, that Issue on GitHub was opened by me, as this clearly seems to be a bug.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Possible Bug : Composite not working anymore with VBScript

Post by fmw42 »

That is a another way to get fast response to the issue.
Post Reply