Page 1 of 1

Composite not working anymore with VBScript

Posted: 2018-03-29T00:52:15-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-29T20:59:40-07:00
by Alexvb6
This possible bug was reported on GitHub as an Issue, whose ticket is visible here : https://github.com/ImageMagick/ImageMagick/issues/1070