Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Batch Convert CGM Images

  1. #1

    Default Batch Convert CGM Images

    Is there an easy way to batch convert CGM images into anything modern (preferably SVG, because they're vector graphics)? The furthest I've gotten is ImageMagick, which tries to open them, but dies saying it can't find "ralcgm", mhich I can't find in any repos.

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Batch Convert CGM Images

    Install and try uniconvertor.
    Do a search: Software.openSUSE.org
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3

    Default Re: Batch Convert CGM Images

    uniconvertor fails with "Cannot load plugin module cgmloader".

  4. #4
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Batch Convert CGM Images

    I haven't used it myself. It uses sk1 libraries and you may report the problem to sK1 Project.
    Actually, there is a slightly later version available from their site (you may try those to see if the same problem exists):
    32 Bit:
    http://sk1project.org/downloads/sk1/...se112.i586.rpm
    http://sk1project.org/downloads/sk1/...se112.i586.rpm
    64 Bit:
    http://sk1project.org/downloads/sk1/...112.x86_64.rpm
    http://sk1project.org/downloads/sk1/...112.x86_64.rpm
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  5. #5
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,450

    Default Re: Batch Convert CGM Images

    Though it is not in the repositories, there is still an rpm for it at
    RPM Search PLD ralcgm-3.50-3.i386.rpm
    which may be worth trying.

    YaST should tell you if it has any dependencies which cannot be supported from the openSUSE repos.

  6. #6

    Default Re: Batch Convert CGM Images

    SK1 errors out with "Cannot load filter cgmloader.CGMLoader".

    ImageMagick dies with "Delegate failed `"ralcgm -d ps -oC < "%i" > "%o" 2> "%Z"' @ delegate.c/InvokeDelegate/1032:"

    Running "ralcgm image.cgm" always quits with "***FATAL ERROR: CGMibin [146] Wrong Version number".

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Batch Convert CGM Images

    I always you just convert. It should be installed by default

    do

    man convert for the options.

  8. #8

    Default Re: Batch Convert CGM Images

    convert also gives me "convert: Delegate failed `"ralcgm" -d ps -oC < "%i" > "%o" 2> "%Z"' @ delegate.c/InvokeDelegate/1032."

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Batch Convert CGM Images

    You must have mucked up the Imagemagic install. Try uninstalling and then reinstall.

  10. #10

    Default Re: Batch Convert CGM Images

    Not sure this is the problem from a quick google I would suspect you need ralcgm looking at the other delegates
    Code:
    convert -list delegate
    I would expect you to be able to run the ralcgm from cli now not checked but i have found it here Index of /download/delegates you seem to have an rpm but I suspect it may not work so what I did...

    Go to here get the src.rpm RPM Search PLD ralcgm-3.50-1.i386.rpm install it. This won't build so you need this spec file http://sprunge.us/dMIh it actually only mods 2 lines the patch needs a 0 and optflags instead of the PLD version.

    Code:
    rpmbuild -bb /usr/src/packages/SPECS/ralcgm.spec
    then install with zypper in /usr/src/packages/i586/ralcgm.rpm

    I've tested with this file CGM Image Test Page it works fine and I get the error without this installed and convert works fine with it.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •