[reportlab-users] SVG export in comparison to PDF?

Ilya Flyamer flyamer at gmail.com
Sat Aug 10 05:24:31 EDT 2013


PDF weighs 10.5 Mb, SVG file for 10% of that data weighs 17 Mb.

No, I haven't, how do I do that? Where can I find that file?

I use Python 2.7
Bio.__version__ is 1.62b
reportlab.Version is 2.7

No, there were some issues with fonts, but It seems, I successfully solved
them.

Best,
Ilya


2013/8/9 Peter Cock <p.j.a.cock at googlemail.com>


> On Fri, Aug 9, 2013 at 5:52 PM, Marc Tompkins <marc.tompkins at gmail.com>

> wrote:

> > On Fri, Aug 9, 2013 at 8:32 AM, Ilya Flyamer <flyamer at gmail.com> wrote:

> >>

> >> I am using GenomeDiagram from BioPython, which is based on ReportLab to

> >> generate pictures, to draw some graphs/maps on the genome. The data is

> in

> >> general huge, so that export of a picture out into PDF file takes a few

> >> minutes. But the problem is with export in SVG files: I waited over 40

> >> minutes and it still hasn't finished writing to disk (BTW, the process

> was

> >> using >1Gb of RAM, but only 1-2% of CPU - looks strange to me, is it?).

> >> Is it an issue in ReportLab or a pure format structure issue?

> >>

> > Can you try it with a very small chunk of data? I don't know BioPython

> or

> > GenomeDiagram, but I presume that there must be some way to handle tiny

> > snippets; in any case, does it successfully create an SVG when the

> dataset

> > is not huge?

>

> The size of the successful PDF file would be interesting as a rough

> way to guess the complexity of your figure and how big the SVG

> might be.

>

> Have you run the Biopython unit tests, specifically file

> Tests/test_GenomeDiagram.py which should produce some

> sample PDF and SVG output in Tests/Graphics/ ?

>

> Also what versions of Python, Biopython and ReportLab do you

> have, and were there any issues installing the C bits of ReportLab?

>

> Regards,

>

> Peter

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>




--
Ilya Flyamer
Student of Molecular Biology Department
Biological Faculty
Moscow State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20130810/b465e16e/attachment.html>


More information about the reportlab-users mailing list