On Jun 17, 2008, at 7:54 AM, Bruno Lowagie wrote:
> It's better to keep pure 'graphics state' operations
> separated from 'text state' operations. I should check
> in the PDF Reference which graphics state operators
> are allowed between a BT/ET sequence and which aren't;
> but in any case: it's sa
Robert Spielmann wrote:
> So, surrounding the image code with begin-/endText() is a bad idea?
It's better to keep pure 'graphics state' operations
separated from 'text state' operations. I should check
in the PDF Reference which graphics state operators
are allowed between a BT/ET sequence and whi
16:19
> An: Post all your questions about iText here
> Betreff: Re: [iText-questions] Adding a JPG to a page causes errors
>
> Robert Spielmann wrote:
> > Hi all,
> >
> > I'm adding a JPG to a page using the stamper like this:
> >
> > // Load the ar
Robert Spielmann wrote:
> Hi all,
>
> I'm adding a JPG to a page using the stamper like this:
>
> // Load the arrow
> Image pfeil = Image.getInstance("templates/Pfeil_schwarz_oben.jpg");
>
> // Scale the arrow (the template PDF has 300 dpi)
> pfeil.scalePercent(((float)pfeil.getDpiX()/300)*100);
Hi Robert,
On 17/06/2008, Robert Spielmann <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm adding a JPG to a page using the stamper like this:
[snip]
> What should I do? Might I have made some kind of mistake adding the image
> this way?
Could you send the faulty file to the list?
Cheers,
alex
What's the over.endText() doing there?
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Robert Spielmann
> Sent: Tuesday, June 17, 2008 3:12 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-qu
Hi all,
I'm adding a JPG to a page using the stamper like this:
// Load the arrow
Image pfeil = Image.getInstance("templates/Pfeil_schwarz_oben.jpg");
// Scale the arrow (the template PDF has 300 dpi)
pfeil.scalePercent(((float)pfeil.getDpiX()/300)*100);
pfeil.setAbsolutePosition(calculated coo