If you'd like to upload plug-ins, please create an account below. Otherwise (e.g. for download or commenting) you do not need one! Enjoy :-)
Extends the functionality of /Export Path by allowing for the specification of attribute values (fill,stroke,etc) by encoding these into the path name. Export path values as SVG file. Script assumes that the path name is an encoding of SVG attributes.
These are encoded using:
_[2 letter code][value]_ where 2 letter code is one of:
The value can not contain an underscore and exact values for attributes can be obtained from the SVG Specifications: http://www.w3.org/TR/SVG
For example:
_fcwhite_scblack_tppolyline_slbutt_sjmiter_nmexample_
would decode to:
<polyline points="..." fill="white" stroke="black"
stroke-linejoin="miter" stroke-linecap="butt"
id="example"/>
Loading the resultant SVG file is only possible if you have SVG support compiled in, but you can export SVG using this script.
| Attachment | Size |
|---|---|
| example-xcf.zip | 14.47 KB |
| svg-path-export.scm | 21.47 KB |
Comments
how do you use this plugin
how does one go about exporting this as an SVG - can you perform animation with this script?
on your example can you describe what it is you are having the script do and how you do it?
Having an export for SVG would be great!
Thanks
Gimp may create PATHS,and
Gimp may create PATHS,and import export path as SVG, it does already the script just extend the options (i.e: allowing to export not only the bare path but also very basic info on the stroke and the fill
Will not anyway convert bitmap image in vectorial files,(inkscape may do, result vary from image to image) not save path with gradient fill (i suppose that may be added )
To work with vector you have to use Inkscape GIMP is for bitmap and its support for SVG is only that strictly needed (i.e to allow use SVG gradient or to import/export paths from inkscape or similar sw )