30

Wikipedia has an extensive set of anatomy SVGs, but I can't highlight different organs or parts dynamically, because there are no source files with layers I can manipulate in Photoshop or GIMP.

How can I edit an .SVG file?

34

An .SVG file IS a source file. It isn't layers in the Photoshop/Gimp sense but it absolutely can be picked apart. Use an SVG editor - that would be Illustrator or Inkscape.

Alternatively, if you want to get real crazy you can open the .SVG in any text editor and look for the values you want to change which for colors would be in Hex format #nnnnnn

  • 6
    Worth emphasising the key difference - in general, SVG, Illustrator and Inkscape work with vectors, Photoshop and Gimp work with raster images – e100 Mar 22 '12 at 9:46
  • 3
    Also worth noting that Inkscape is free, cross-platform and open source. – user19660 May 14 '15 at 11:15
1

You can try SVG-edit, BlueGriffon, GLIPS Graffiti, Free SVG Editor and many other software listed in this URL: http://listoffreeware.com/list-of-best-free-svg-viewer-software-for-windows/ for viewing and editing SVG files.

  • 4
    Which software do you use, what is the advantage of it and what the disadvantage? – Mensch Dec 30 '14 at 13:15
1

This tool might help you to edit the svg file.

SVG Editor

  • 1
    There are lots of SVG editors. Is this one any good? – usr2564301 May 9 '15 at 9:14
  • 2
    Can you please elaborate on your answer? As it stands, it is a link-only answer that becomes useless if the link rots and may be deleted for that very reason. – Wrzlprmft May 9 '15 at 9:30
  • No, this is not a good one :-) – boatcoder Sep 28 at 17:47
0

The TL:DR; solution to this is to use Inkscape: https://inkscape.org/

It's free, open source, cross platform. You can install on Ubuntu with "snap install inkscape" or use the installer on the website for PC and Mac.

If you have the Adobe suite (and there's a 30 day free trial) you can use either Photoshop paths or Illustrator to import, edit and export SVGs. When I use Photoshop, I switch my Quick Export preferences so I can right click on a shape layer and "Quick Export as SVG".

SVG vector graphics may also be hand edited in any text editor, as they are essentially just a markup container for a object containing a series of vectors.

One other thing to note: SVGs use markup language, specifically the and tag, and these tags are accessible for styling via CSS. For example, you can give a path an ID and assign it a fill color.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.