<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>svglib</name>
<shortdesc>An experimental library for reading and converting SVG.</shortdesc>
<description>`Svglib` is an experimental library for reading `SVG 
&lt;http://www.w3.org/Graphics/SVG/&gt;`_ files and converting them (to a 
reasonable degree) to other formats using the Open Source `ReportLab 
Toolkit &lt;http://www.reportlab.org&gt;`_. As a package it reads existing 
SVG files and returns them converted to ReportLab Drawing objects that 
can be used in a variety of ReportLab-related contexts, e.g. as Platypus 
Flowable objects or in RML2PDF. As a command-line tool it converts SVG 
files into PDF  ones. 

Tests include a vast amount of tests from the `W3C SVG test suite 
&lt;http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview&gt;`_.

This release accesses `199 flags from Wikipedia.org 
&lt;http://en.wikipedia.org/wiki/Gallery_of_sovereign_state_flags&gt;`_ 
for test purposes.


Features
++++++++

- convert SVG files into ReportLab Graphics Drawing objects
- handle plain or compressed SVG files (.svg and .svgz)
- allow patterns for output files on command-line
- install a Python package named ``svglib``
- install a Python command-line script named ``svg2pdf``
- provide a Unittest test suite
- test on some standard W3C SVG tests available online
- test on some Wikipedia sample SVG symbols available online
- test on some Wikipedia sample SVG flags available online


Examples
++++++++

You can use `svglib` as a Python package e.g. like in the following
interactive Python session::

    &gt;&gt;&gt; from svglib.svglib import svg2rlg
    &gt;&gt;&gt; from reportlab.graphics import renderPDF
    &gt;&gt;&gt;
    &gt;&gt;&gt; drawing = svg2rlg("file.svg")
    &gt;&gt;&gt; renderPDF.drawToFile(drawing, "file.pdf")

In addition a script named ``svg2pdf`` can be used more easily from 
the system command-line like this (you can see more examples when 
typing ``svg2pdf -h``)::

    $ svg2pdf file1.svg file2.svgz
    $ svg2pdf -o "%(basename)s.pdf" /path/file[12].svgz?</description>
<download-page>http://www.dinu-gherman.net/tmp/svglib-0.6.2.tar.gz</download-page>
<homepage rdf:resource="http://www.dinu-gherman.net/" />
<maintainer><foaf:Person><foaf:name>Dinu Gherman</foaf:name>
<foaf:mbox_sha1sum>7bb08fcdc2bcde8b5c6a9f3d15260508624e7291</foaf:mbox_sha1sum></foaf:Person></maintainer>
<release><Version><revision>0.6.2</revision></Version></release>
</Project></rdf:RDF>