I found a Visual C++ project for the code in the GraphicsMagick cvs
repository. It compiled successfully. Configuring it is a bit weird though.

I found that if I installed the cygwin version, then replaced the exe file
with the new one I just compiled, and finally
SET CGM=c:\Program files\Ralcgm\Data\
then I was able to do some conversions by running ralcgm -d ps input.cgm
output.ps

However it is not yet integrated into my ImageMagick installation -- I can't
just go "convert input.cgm output.jpg". That requires modifying the delegate
file, and I'm not quite sure how to go about it. My early attempts failed.

My compiled exe is at http://rpresser.googlepages.com/ralcgm-vc8-exe.zip


On Fri, Oct 3, 2008 at 10:20 AM, Ross Presser <[EMAIL PROTECTED]> wrote:

> Well, that was futile -- compiling this thing is not as simple as it should
> be! I will keep looking around.
>
>
> On Fri, Oct 3, 2008 at 9:55 AM, Ross Presser <[EMAIL PROTECTED]> wrote:
>
>> Scratch that -- I will compile it with mingw, so it is not cygwin
>> dependent at all.
>>
>>
>> On Fri, Oct 3, 2008 at 9:55 AM, Ross Presser <[EMAIL PROTECTED]> wrote:
>>
>>> Looks like the source is here: http://freeware.sgi.com/source/ralcgm/
>>> Download it and compile it with cygwin using your own system.
>>>
>>> If you don't feel up to it, tell me what version of the cygwin DLL you
>>> are using. If it matches mine then I can compile for you.
>>>
>>>
>>> On Tue, Sep 30, 2008 at 12:18 PM, Mathew Yeates <[EMAIL PROTECTED]>wrote:
>>>
>>>> Thanks. I didn't have ralcgm. But I can't find a version for windows.
>>>> After looking around, I downloaded it from
>>>> http://xd.chem.buffalo.edu/download.html
>>>> but this was compiled with an incompatible version of the cygwin dll.
>>>>
>>>> Does anyone have any ideas about where I can get ralcgm for windows?
>>>>
>>>> Thanks
>>>> Mathew
>>>>
>>>>
>>>> Ross Presser wrote:
>>>> > "ralcgm" is the delegate program used to convert your cgm file into a
>>>> > postscript file. Apparently it failed to work. Try running it by
>>>> > itself, maybe it will give more information.
>>>> >
>>>> > ralcgm -d ps foo.cgm foo.ps <http://foo.ps>
>>>> >
>>>> > If you don't have ralcgm on your system, then that is what is wrong.
>>>> >
>>>> > On Mon, Sep 29, 2008 at 5:40 PM, Mathew Yeates <[EMAIL PROTECTED]
>>>> > <mailto:[EMAIL PROTECTED]>> wrote:
>>>> >
>>>> >     Hi
>>>> >     On windows I'm trying to convert an IDL cgm file to a GIF. I run
>>>> >     .\convert.exe foo.cgm foo.gif and get the error (after a long
>>>> pause)
>>>> >
>>>> >     ------------------------------------------------------------------
>>>> >     convert.exe: `%s': %s ralcgm -d ps
>>>> >     "C:/DOCUME~1/myeates/LOCALS~1/Temp/magick-YFn
>>>> >     4EljA" "C:/DOCUME~1/myeates/LOCALS~1/Temp/magick-KssXizhK"
>>>> >     "C:/DOCUME~1/myeates/
>>>> >     LOCALS~1/Temp/magick-wxUDuCXK"     convert -concatenate
>>>> >     C:/DOCUME~1/myeates/LOCA
>>>> >     LS~1/Temp/magick-KssXizhK*.ps
>>>> >     "C:/DOCUME~1/myeates/LOCALS~1/Temp/magick-KssXizhK
>>>> >     ".
>>>> >     convert.exe: Delegate failed `ralcgm -d ps "%i" "%o" "%u"
>>>> convert
>>>> >     -concatena
>>>> >     te %o*.ps "%o"'.
>>>> >     convert.exe: unable to open image
>>>> >     `C:/DOCUME~1/myeates/LOCALS~1/Temp/magick-lBRk
>>>> >     ISkt': No such file or directory.
>>>> >     convert.exe: unable to open file
>>>> >     `C:/DOCUME~1/myeates/LOCALS~1/Temp/magick-lBRkI
>>>> >     Skt': No such file or directory.
>>>> >     convert.exe: missing an image filename `foo.gif'.
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> >
>>>> >     What does this mean?
>>>> >
>>>> >     Mathew
>>>> >
>>>> >
>>>> >     _______________________________________________
>>>> >     Magick-users mailing list
>>>> >     [email protected] <mailto:[email protected]
>>>> >
>>>> >     http://studio.imagemagick.org/mailman/listinfo/magick-users
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Magick-users mailing list
>>>> [email protected]
>>>> http://studio.imagemagick.org/mailman/listinfo/magick-users
>>>>
>>>
>>>
>>
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to