Delegate Setup Help Needed
Posted: 2010-01-19T07:06:17-07:00
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
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