Skip to main content

Tools for converting SVG graphics to TikZ/PGF code

Project description

SVG2TikZ (Inkscape 1.x.x compatible)

Documentation Status

SVG2TikZ, formally known as Inkscape2TikZ ,are a set of tools for converting SVG graphics to TikZ/PGF code. This project is licensed under the GNU GPL (see the LICENSE file).

Documentation and installation

All the informations to install and use SVG2TikZ can be found in our Documentation.

Changes, Bug fixes and Known Problems from the original

  • Now images can also be exported to tikz
  • Added a variable /def /globalscale to the output tikz document (standalone and tikz figure)
  • /globalscale when changed will scale the tikzfigure by transforming the vector coordinates.
  • /globalscale when changed will scale the tikzfigure by scaling the embedded images
  • The path element was not exported in correct coordinates. This is fixed
  • Added an entry to specify the path to be removed from absolute paths in the images. This is useful to work in a latex project directly

Known Problems

  • Currently only images that are "linked" in svg are exported. Base64 embed is not yet supported so avoid choosing embed option
  • Grouped elements will not work. So ungroup everything

More documentation can be found in the docs/ directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svg2tikz-1.1.0.tar.gz (102.9 kB view hashes)

Uploaded Source

Built Distribution

svg2tikz-1.1.0-py3-none-any.whl (129.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page