I see posts about CGM to TIFF, but can a TIFF to CGM be done.
I'm looking at converting a number of TIFF image drawing files to CGM.
Can you convert a TIFF to CGM
Re: Can you convert a TIFF to CGM
You can see which formats are supported here http://www.imagemagick.org/script/formats.php and it looks like CGM is read only.
Just noticed this "Requires ralcgm to render CGM files."
Just noticed this "Requires ralcgm to render CGM files."
-
- Posts: 2
- Joined: 2016-10-19T02:08:32-07:00
- Authentication code: 1151
help in converting cgm to png
Hi
I am trying convert CGM image to PNG image using Image magick and ralcgm delegate but im getting an error
C:\Users\home>ralcgm -d ps -oC c:\caution.cgm c:\caution.ps
RAL CGM Interpreter Version 3.50
***FATAL ERROR: CGMibin [146] Wrong Version number
C:\Users\home>convert c:\caution.ps c:\caution.png
convert: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOP
AUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=
pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g612x792 "-sOutput
File=C:/Users/home/AppData/Local/Temp/magick-5388JtVccwSRLQKp%d" "-fC:/Users/hom
e/AppData/Local/Temp/magick-5388HXT0mKrFRBka" "-fC:/Users/home/AppData/Local/Tem
p/magick-5388ysT_0chmZWIV"' (The system cannot find the file specified.
) @ error/delegate.c/ExternalDelegateCommand/460.
convert: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOP
AUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=
pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g612x792 "-sOutput
File=C:/Users/home/AppData/Local/Temp/magick-5388JtVccwSRLQKp%d" "-fC:/Users/hom
e/AppData/Local/Temp/magick-5388HXT0mKrFRBka" "-fC:/Users/home/AppData/Local/Tem
p/magick-5388ysT_0chmZWIV" -c showpage' (The system cannot find the file specifi
ed.
) @ error/delegate.c/ExternalDelegateCommand/460.
convert: Postscript delegate failed `The system cannot find the file specified.
' @ error/ps.c/ReadPSImage/949.
convert: no images defined `c:\caution.png' @ error/convert.c/ConvertImageComman
d/3253.
.ps file im getting but it is corrupted
What is the solution for this?
Please help me and i needed this for my project
I am trying convert CGM image to PNG image using Image magick and ralcgm delegate but im getting an error
C:\Users\home>ralcgm -d ps -oC c:\caution.cgm c:\caution.ps
RAL CGM Interpreter Version 3.50
***FATAL ERROR: CGMibin [146] Wrong Version number
C:\Users\home>convert c:\caution.ps c:\caution.png
convert: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOP
AUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=
pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g612x792 "-sOutput
File=C:/Users/home/AppData/Local/Temp/magick-5388JtVccwSRLQKp%d" "-fC:/Users/hom
e/AppData/Local/Temp/magick-5388HXT0mKrFRBka" "-fC:/Users/home/AppData/Local/Tem
p/magick-5388ysT_0chmZWIV"' (The system cannot find the file specified.
) @ error/delegate.c/ExternalDelegateCommand/460.
convert: FailedToExecuteCommand `"gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOP
AUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=
pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g612x792 "-sOutput
File=C:/Users/home/AppData/Local/Temp/magick-5388JtVccwSRLQKp%d" "-fC:/Users/hom
e/AppData/Local/Temp/magick-5388HXT0mKrFRBka" "-fC:/Users/home/AppData/Local/Tem
p/magick-5388ysT_0chmZWIV" -c showpage' (The system cannot find the file specifi
ed.
) @ error/delegate.c/ExternalDelegateCommand/460.
convert: Postscript delegate failed `The system cannot find the file specified.
' @ error/ps.c/ReadPSImage/949.
convert: no images defined `c:\caution.png' @ error/convert.c/ConvertImageComman
d/3253.
.ps file im getting but it is corrupted
What is the solution for this?
Please help me and i needed this for my project
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Can you convert a TIFF to CGM
You issued two commands, ralcgm and convert. They both failed. I suspect the second failed because the first failed.
ralcgm isn't an ImageMagick program.
ralcgm isn't an ImageMagick program.
snibgo's IM pages: im.snibgo.com
-
- Posts: 2
- Joined: 2016-10-19T02:08:32-07:00
- Authentication code: 1151
Re: Can you convert a TIFF to CGM
how to convert cgm file to png file using imagemagick?