Delegate Setup Help Needed

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sharner

Delegate Setup Help Needed

Post by sharner »

Hello All,

I am using ImageMagick 6.2.3-Q16 on win xp sp3 and am trying to get it to work for converting a cgm to a jpg. If I use the delegate apps by themselves (ralcgm for cgm to ps and ghostscript for ps to jpg), I get success. However, it would be really nice if I could get this to work through ImageMagick.

Here's an example command that I am running:

convert test.cgm test.jpg

Here are the results of the command from the command line:

convert: `%s': %s convert -concatenate C:\WINDOWS\TEMP\magick-h5nlg4ui*.ps "
C:\WINDOWS\TEMP\magick-h5nlg4ui".
convert: Delegate failed ` convert -concatenate %o*.ps "%o"'.

Here is my cgm delegate from delegates.xml:

<delegate decode="cgm" command='ralcgm -d ps "%i" "%o" "%u"
convert -concatenate %o*.ps "%o"' />

It seems as though I am getting to the second part of my command. I have also tested a conversion from ps to jpg using ImageMagick, and that part of the equation is working. Any help that could be offered would be greatly appreciated. Please let me know what other information may be of use in diagnosing the issue.

Thanks,

Scott
Post Reply