Git Product home page Git Product logo

ai-svg-export's Introduction

ai-svg-export

Simple-but-tricky script that exports each layer of an Adobe Illustrator to separate svg files
(1 layer => 1 .svg)

Important

If you use an existing file, ensure each element you'd like to be exported as svg is one unique layer.
If not, then you'll have to fix it first (manually).
Any script automating this task would be appreciated !
If you are likely to create a file from scratch then export its elements, then keep in mind building a single layer for every single element. Merging every element in the layer might help.

Instructions of use

  1. Open your file
  2. Depending on your version of Illustrator, go to File / Scripts / Import Script
  3. A dialog box will open. At this step of development (almost null), the select menu has "svg" selected by default, but the options are JPG options. Just switch the select to "JPG" then back to "SVG" and you're done (if you can fix this, push !)
  4. Choose a folder where to put the svgs (and also a script that should repeat the process. Honestly I didn't try it)
  5. Cross fingers while having a look at the selected export folder.
  6. Works ? Great !! Doesn't ? Find why in Adobe's Documentation (I'm too busy for that at the moment :o)

Enjoy !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.