[reportlab-users] background image

Harald Armin Massa haraldarminmassa at gmail.com
Wed Apr 23 07:39:50 EDT 2008


Arkadi,

read the chapters about

canvas.beginForm("formname")
canvas.endForm("formname")
and
canvas.doForm("formname")

"Forms" can be used to store elements common to all pages within the pdf.

best wishes,

Harald

On Wed, Apr 23, 2008 at 1:03 PM, Arkadi Colson <arkadi at smartbit.be> wrote:

> Hi all,

>

>

> I was wondering if it's possible to use a full page image as background in

> a multi page pdf without ending up with a very big file size? So the

> background image may not be loaded on every page again but only once. (the

> image is the same for every page)

> Right now I'm using the canvas method drawInlineImage. If the image is for

> example 100k and the pdf has 100 pages, I will end up with a file of minimum

> 10M which is to big.

>

> Anyone who has a solution for this?

>

> Thanks a lot.

>

> Best regards,

> Arkadi

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

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

>




--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!


More information about the reportlab-users mailing list