Jump to content
Search Community

Save points to SVG ?

Lynx test
Moderator Tag

Go to solution Solved by Lynx,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello Lynx,

 

Even though this is not a GSAP specific question, we have to stay focused on questions relating to the GSAP API. ;)

 

But have you tried to Google that

 

https://www.google.com/search?q=save+points+as+SVG+from+Illustrator+&ie=utf-8&oe=utf-8

 

or search StackOverflow:

 

http://stackoverflow.com/questions/13236365/optimal-settings-for-exporting-svgs-for-the-web-from-illustrator

 

or search Adobe illustrator Documentation and Forums

 

https://helpx.adobe.com/illustrator/how-to/export-svg.html

 

:)

  • Like 1
Link to comment
Share on other sites

If You need small and clean svg, You have to write Your own svg exporter in ExtendScrip's .jsx javascript format. This is the language of the Adobe applications. But It requires a lot of time, adept patience ( bad documentation, sluggish JS engine ) and journeyman skill in JS. 

But if a stock SVG is fine, You can File/Export it, clean it with SVGOMG: https://jakearchibald.github.io/svgomg/
If You need only one shape's data, just Right click/Export it.

If you chose the hard way, You can start studying these:
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/illustrator/sdk/CC2015_3/AI_ScriptGd.pdf
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/illustrator/sdk/CC2015_3/Illustrator%20JavaScript%20Scripting%20Reference.pdf

 

  • Like 3
Link to comment
Share on other sites

  • Solution

The points are saved within the SVG file but you must extract them without destroying the SVG graphic which is not only pain staking but a hit or miss; not ideal route to go down.

 

A script would be helpful, thanks for the input everyone :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...