Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Catastrophic failure" when using the ".Composite" tool of the ImageMagickObject COM+ component with latest IM 6.9.9.40 DLL #1070

Closed
AlexLaforge opened this issue Mar 29, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@AlexLaforge
Copy link

commented Mar 29, 2018

catastrophic-failure-composite

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of ImageMagick
  • I have searched open and closed issues to ensure it has not already been reported

Description

The latest IM 6.9.9.40 version ran under Windows with VBScript leads to the following error "Catastrophic failure", when using the ".Composite" tool.
The ".Composite" tool seems broken with the Imagemagick COM+ object. As a comparison, it was working correctly with the (old) IM 6.8.5 version, and is working on 7.0.7-28.

As the official Docs states that "The ImageMagickObject COM+ component provides access to the compare, convert, composite, mogrify, identify, montage, and stream tools", I assume that this looks to a clear bug :
http://www.imagemagick.org/script/ImageMagickObject.php
or
https://legacy.imagemagick.org/script/I ... Object.php

Steps to Reproduce

  1. Install the latest Windows DLL Package of IM 6.9.9.40 Q16 x64 HDRI

  2. Create a c:\TestIM.vbs file containing the following source code :

Set IMimg = CreateObject("ImageMagickObject.MagickImage.1")
	IMimg.Composite "rose:", "logo:", "c:\rose-over-logo.png"
Set IMimg = Nothing
  1. Execute this code with the 64-bit version of the WSH :
    C:\windows\system32\wscript.exe c:\TestIM.vbs

  2. Instead of the expected result that would see the creation of the "c:\rose-over-logo.png" file thanks to the ".Composite" tool, an error is generated :
    Line : 2
    Char : 2
    Error : Catastrophic failure
    Code : 8000FFFF
    Source : (null)

Already checked

  • The DLL is well registered in the 64-bit Registry
  • The "ImageMagickObject.MagickImage.1" is well created
  • The Read/Write/Modify user rights are correct on c:\
  • The ".Identify" tool works properly from the COM+ component, and can read from c:\
  • The ".Convert" tool works properly from the COM+ component, and can write on c:\

System Configuration

  • ImageMagick version: 6.9.9.40 Q16 x64 HDRI
  • Environment (Operating system, version and so on): Windows Server 2012 Standard 64 bits
  • Additional information: ImageMagickObject x64 Windows DLL, used from VBScript
@dlemstra

This comment has been minimized.

Copy link
Member

commented Mar 31, 2018

I cannot reproduce your issue with the latest development build. And I have no idea why it is failing on your machine.

@AlexLaforge

This comment has been minimized.

Copy link
Author

commented Apr 2, 2018

Hi @dlemstra ,
I have not tested the latest development build, but only the last official release 6.0.0-40.

@dlemstra dlemstra closed this Nov 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.