Re: SVG export in comparison to PDF?

Andy Robinson <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CABjtAptPpBP7S9FWt+id8WQURYtxmoauQNe=mrBYOej53xeF8Q@mail.gmail.com>
PDF's page marking operators to draw curves and lines are fairly short
and terse, and each page gets 'zipped' before saving.  The XML
equivalents are horrifically longwinded.   So SVG is a bad choice for
images with a lot of detail.  My guess is that it's somehow
disk-write-bound.   Again, can we know the sizes, and what kind of
machine are you on?  We have found that a lot of cloud infrastructures
have very poor disk write performance.

There is also an option to generate PDF files without compression  (I
think you pass pageCompression=0 when constructing the canvas).  This
would be interesting as it will write out the PDF page marking
operators 'longhand'; otherwise, each page is written out and zipped
before saving.  I would imagine the uncompressed PDF will be a few
times bigger.

So please let's have some size data.  Also, how long does it take to
display clearly in Adobe Reader, evince or whatever you use to display
it?

- Andy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.