Re: SVG export in comparison to PDF?
Ilya Flyamer <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CAO-Bq3Bfs0vXhCP2EzKZFqVU7mi_x9HB=OZNA1evv5CWgh5rYA@mail.gmail.com> |
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 <[email protected]> > On Fri, Aug 9, 2013 at 5:52 PM, Marc Tompkins <[email protected]> > wrote: > > On Fri, Aug 9, 2013 at 8:32 AM, Ilya Flyamer <[email protected]> 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 > [email protected] > http://two.pairlist.net/mailman/listinfo/reportlab-users > -- Ilya Flyamer Student of Molecular Biology Department Biological Faculty Moscow State University