Composite not working anymore with VBScript

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Composite not working anymore with VBScript

Post by Alexvb6 » 2018-03-29T00:52:15-07:00

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 !

Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Re: Composite not working anymore with VBScript

Post by Alexvb6 » 2018-03-29T20:59:40-07:00

This possible bug was reported on GitHub as an Issue, whose ticket is visible here : https://github.com/ImageMagick/ImageMagick/issues/1070

Post Reply