Problem reading cgm with 6.3.6-8

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
tsdineen
Posts: 81
Joined: 2007-01-18T08:45:31-07:00

Problem reading cgm with 6.3.6-8

Post by tsdineen »

I am getting an error trying to read a cgm file with the 6.3.6 version on linux.

display ~/data/file.cgm

returns:

***FATAL ERROR: CGMmain [140] Cannot open file (Input file: <.cgm)
display: Delegate failed `"ralcgm" -d ps -oC < "%i" > "%o" 2>/dev/null'.
display: unable to open image `/tmp/magick-XXfTVbFU': No such file or directory.
display: UnableToOpenBlob `/tmp/magick-XXfTVbFU': No such file or directory.

This same cmd line works fine with 6.3.3. Also, if a call

ralcgm -d ps -oC < ~/data/file.cgm > ./tmp.ps; display ./tmp.ps

all if fine. Any help would be appreciated.
tsdineen
Posts: 81
Joined: 2007-01-18T08:45:31-07:00

Re: Problem reading cgm with 6.3.6-8

Post by tsdineen »

***FATAL ERROR: CGMmain [140] Cannot open file (Input file: <.cgm)
I believe that is a ralcgm error. Ralcgm is in the path and executable as this call
ralcgm -d ps -oC < ~/data/file.cgm > ./tmp.ps; display ./tmp.ps
works fine. Also, display works as expected with the 6.3.3 version. One note that I can see is the constant changing of the delegates file. Could there be a problem in the new code to parse this out of the delegates file and apply it to cgm? I only ask that because of the (Input file: <.cgm) in the error looks like its getting confused.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem reading cgm with 6.3.6-8

Post by magick »

We have a patch in ImageMagick 6.3.6-10 to fix the problem you reported. Thanks.
Post Reply