## Scribus SVG Import/Export

Scribus 1.2 includes SVG import/export plug-ins, which enables you to export Scribus pages or objects as SVG. The import plug-in allows you to import SVG drawings and documents from illustration programs like Inkscape, Skencil and Adobe Illustrator.

These plug-ins have the capability to import and export SVG 1.0 standards 2D graphics primitives and text, which can then be displayed in web browsers with SVG capability, within SVG viewers or further edited with SVG capable vector editors, like Skencil, Inkscape or Adobe Illustrator.

#### Exporting using the Plug-in:

Simply have the page you want to be exported open, selected and use File > Export > Save as SVG..

#### Importing using the Plug-in:

Go File..>Import SVG Image When you import an SVG image or drawing, it will appear like an object from the Scrapbook. Drag the cursor where you want to place the SVG image.

#### SVG Importing Hints:

Scribus can handle most of the SVG features which can be created in Inkscape and Sketch, two well known vector drawing programs for Linux. The biggest issue I have observed is sometimes the paths when interpreted do not show up as closed. So parts of the SVG file look empty upon import. The simple fix is to ungroup the elements and then select the empty looking objects, then double click to bring up the editing palette for drawing objects and click on the close path button. Typically, then the invisible object will appear.

### Scribus - SVG Q and A

#### What is an SVG?

SVG (Scalable Vector Graphics) is a W3C recommended standard for vector graphics like line drawings, maps and logos.

#### Why add SVG Export to Scribus?

Increasingly, Scribus has more sophisticated drawing tools, which are both familiar and easy to use. End users might like to use Scribus created objects in other applications like web design. Many other applications can import SVG and export an SVG object into other file formats. This also makes it easy for your print and web objects to be created from the same source.

#### What features can I export with the plug-in?

Basic 2D graphics and text. Text on a path works sometimes with other applications, sometimes not. Adobe Illustrator and Sodipodi (increasingly) both do a good job of importing Scribus SVG. All features in a Scribus doc can be exported as SVG. Images within a page are converted to PNG. The Amaya Web browser will also display Scribus SVG. Some builds of Mozilla have native SVG rendering built in and future versions may include this in standard builds.

#### What features are not supported

The current version of the SVG-Import Plug-in has the following limitations:

1. Text isn't supported fully yet.
2. Not all gradient styles are fully supported.
3. No support for masking and clipping
4. Embedded SVG-Images aren't supported.
5. The SVG should be well formed, with all tags and structures should be correct. Corrupted SVGs could crash the plug-in.
6. Animations, multi-media and "extensions" or proprietary tags within SVG, which can only be viewed with certain viewers.

#### Why SVG?

SVG as a file format has many advantages:

- Easy to implement. The SVG file format is based on XML and has many similarities to Scribus' native file format.
- SVG is a scalable vector graphics, so graphics do not become pixellated when zoomed.
- They are XML format, text based and quick to load - much smaller than bitmap images. A typical SVG files is under 10k.
- SVG is an open XML-based standard from the W3 consortium
- It is platform neutral
- Can be scripted for user interaction and control. Also has support for ICC color spaces so color display accurately, even within a browser.
- Browser support is increasing. KDE has fairly complete native support for SVG in KDE 3.2. KSVG will is now part of the kdegraphics package. More details: svg.kde.org
- SVG can also be color managed and supports a well defined way to specify ICC profiles.

#### What about browser support?

Mozilla has long had special builds which have native SVG support. Mozilla trunk code is regularly built with SVG support. You can find them on the Mozilla ftp site. Also interesting is the latest SVG plug-in from Adobe it works well in my testing with Mozilla 1.4+ and in Konqueror.

#### Where can I learn more?

SVG Foundation has a wealth of links and news.

Other links are listed in the Links page

#### A Scribus page displayed in a browser: