plug-ins: Initial SVG export support

This patch adds initial support for exporting SVGs, based largely on code from /app/path/gimppath-export.c.

It currently exports any vector layer as a basic SVG path, with fill/stroke color and stroke styles currently set. Group layers are exported as <g> tags. Raster layers are optionally converted to base64 encoding and embedded in <image> tags. Text layers are exported, though not all styling has been implemented yet.

Initial TODO list:

  • Add remaining vector layer properties to SVG
  • Export group layers as <g>
  • Export text layers
  • Export raster layers
  • Implement any parameter/GUI options as desired
  • Code clean-up
Edited by Alx Sa

Merge request reports

Loading