-3

I tried this photoshop script from Hacking UI and couldn't get it working.

My layer are all named with .svg at the end as required. They are all vector content and shapes are closed as required.

I select them all then go to menu File > Scripts > Save to svg.

Then I see a loading icon but nothing happens. No .svg generated, no .ai generated, no message.

I'm using photoshop CS6 (13.0.6 x64) and Illustrator CS6 (16.0.4). Both were running before I tried exporting.

Does anyone know how I could get that script working ?

Thanks

Update

I also tried with photoshop CC (2014.0.0 release, 20140508.r.58) and Illustrator CC (2014.0.0 release, 18.0.0) but I was not luckier.

  • 1
    What's your question? – Zach Saucier Feb 25 '15 at 15:10
  • How can I get that script working ? – svassr Feb 25 '15 at 15:26
  • Did your layer names end in .svg, as required? – Reactive Feb 25 '15 at 15:39
  • Yes my layer are all named with .svgat the end. – svassr Feb 25 '15 at 16:01
  • Are your layers vector content in Photoshop? – Scott Feb 25 '15 at 23:10
1

First off an SVG is a scalable vector graphic. If you have a Photoshop layer that uses vector shapes you can use:

File > Export > "Paths to Illustrator"

this will save your vector paths as an .AI - THEN, you can export from Illustrator to an svg. Ideally in the future if you're going to create vector graphics you should start in Illustrator.

  • 1
    Thanks Eddie. That's the solution I'm using for now but I'd rather skip the Illustrator manual saving step for each file. – svassr Feb 25 '15 at 16:07
  • If you are working in Illustrator, is it possible to save all selected layer in different svg files ? – svassr Feb 25 '15 at 16:08
  • 1
    This script may help you out tbyrne.org/export-illustrator-layers-to-svg-files – AndrewH Feb 25 '15 at 16:19
  • 1
    Well, you can place each layer on a separate artboard (Shift+O for the Artboard Tool) and then File>Save As>SVG and then click 'Use Artboards' and click 'All'. Art boards are good because things can be on different layers and it wont matter as long as they're within the artboard. – Eddie Adolf Feb 25 '15 at 16:21
  • That's exactly what the script here: hackingui.com/design/export-photoshop-layer-to-svg does. It prevents you from having to manual do the work between photoshop and illustrator – DMTintner Apr 24 '15 at 10:32

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.