Results 1 to 4 of 4

Thread: SVG - rendering and conversion

  1. #1
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts

    SVG - rendering and conversion

    Greetings,

    I require two libraries (or one, if it's packaged into one) for some SVG work I'm doing. I need to be able to render an SVG, then take that rendered SVG and convert it into a PNG format. Now, please don't recommend me librsvg as most people have because that's a *nix implementation and is aimed at GNOME - although it's absolutely perfect for what I want. I need these libraries for a Windows platform for now, although I'd prefer some platform independance to allow some inter-operability.

    If you know of anything that can do this and be packaged into one simple, single installing application then I'd be very grateful.

    Also, I'd prefer it to be a C/C++ library, it can't be a Java library (Bartik is another one which I can't have).

    Cheers

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    sorry, but librsvg is considered the best at what it does - http://www.gimp.org/~tml/gimp/win32/librsvg-2.4.0.zip is a windows dll

    or http://www.jbrowse.com/svgnet/ in .NETese - for nice cross-platformness

  3. #3
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Ah ha, well the only reason I was against it was because I couldn't find a win32 version. It's perfect because you can literally do "rsvg -w 100 -h 100 mysvg.svg mypng.png" and that'll render an SVG at a specific size and write it out to a png.

    I guess there's dependencies for it though? Shouldn't matter too much.

    Cheers hexxeh

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by Kezzer
    Ah ha, well the only reason I was against it was because I couldn't find a win32 version. It's perfect because you can literally do "rsvg -w 100 -h 100 mysvg.svg mypng.png" and that'll render an SVG at a specific size and write it out to a png.

    I guess there's dependencies for it though? Shouldn't matter too much.

    Cheers hexxeh
    if there are dependancies, generally look around the GIMP for Windows page, as it should all be up there

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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