Sorry, the PDF file has a size of about 1MB which sourceforge blocks.

I uploaded the file: http://www.1lx.org/epo_alpha.pdf

> -----Ursprüngliche Nachricht-----
> Von: Robert Spielmann 
> Gesendet: Dienstag, 17. Juni 2008 16:30
> An: 'Post all your questions about iText here'
> Betreff: AW: [iText-questions] Adding a JPG to a page causes errors
> 
> Hi all,
> 
> @Paulo: I need to put text on that page as well, which isn't 
> implemented yet - I do an over.beginText(); further up in the code.
> @Alexis: the file is attached.
> 
> Mit freundlichen Grüßen / Best regards
> 
> Robert Spielmann
> IT Consultant
> 
> -- 
> 
> codecentric GmbH
> Grünewalder Str. 29-31
> 42657 Solingen
> 
> Telefon +49 (212) 2494-322
> Fax +49 (212) 2494-334
> Mobil +49 (151) 14705709
> 
> E-Mail [EMAIL PROTECTED]
> 
> Internet www.codecentric.de <http://www.codecentric.de/> 
> 
> Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns
> Sitz der Gesellschaft: Solingen
> 
> Registergericht: Amtsgericht Wuppertal, HRB 19214
> 
>  
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] Im 
> > Auftrag von Paulo Soares
> > Gesendet: Dienstag, 17. Juni 2008 16:16
> > An: Post all your questions about iText here
> > Betreff: Re: [iText-questions] Adding a JPG to a page causes errors
> > 
> > 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: [email protected]
> > > Subject: [iText-questions] Adding a JPG to a page causes errors
> > > 
> > > 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 coordinates);
> > > over.addImage(pfeil);
> > > 
> > > Then I perform over.endText(); and continue with stamping 
> > > operations for the next template pages.
> > > 
> > > As soon as I open the resulting PDF file in Acrobat Reader 
> > > (v8.1.2), it tells me the usual cryptic "An error exists on 
> > > this page." etc. Foxit Reader says nothing, and btw Acrobat 
> > > Reader DOES display the page correctly. However, I'd like to 
> > > get rid of this error popup.
> > > 
> > > What should I do? Might I have made some kind of mistake 
> > > adding the image this way?
> > > 
> > > Mit freundlichen Grüßen / Best regards
> > > 
> > > Robert Spielmann
> > > IT Consultant
> > > 
> > > -- 
> > > 
> > > codecentric GmbH
> > > Grünewalder Str. 29-31
> > > 42657 Solingen
> > > 
> > > Telefon +49 (212) 2494-322
> > > Fax +49 (212) 2494-334
> > > Mobil +49 (151) 14705709
> > > 
> > > E-Mail [EMAIL PROTECTED]
> > > 
> > > Internet www.codecentric.de <http://www.codecentric.de/> 
> > > 
> > > Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns
> > > Sitz der Gesellschaft: Solingen
> > > 
> > > Registergericht: Amtsgericht Wuppertal, HRB 19214
> > 
> > 
> > Aviso Legal:
> > Esta mensagem é destinada exclusivamente ao destinatário. 
> > Pode conter informação confidencial ou legalmente protegida. 
> > A incorrecta transmissão desta mensagem não significa a perca 
> > de confidencialidade. Se esta mensagem for recebida por 
> > engano, por favor envie-a de volta para o remetente e 
> > apague-a do seu sistema de imediato. É proibido a qualquer 
> > pessoa que não o destinatário de usar, revelar ou distribuir 
> > qualquer parte desta mensagem. 
> > 
> > Disclaimer:
> > This message is destined exclusively to the intended 
> > receiver. It may contain confidential or legally protected 
> > information. The incorrect transmission of this message does 
> > not mean the loss of its confidentiality. If this message is 
> > received by mistake, please send it back to the sender and 
> > delete it from your system immediately. It is forbidden to 
> > any person who is not the intended receiver to use, 
> > distribute or copy any part of this message.
> > 
> > --------------------------------------------------------------
> > -----------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > iText-questions mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > 
> > Do you like iText?
> > Buy the iText book: http://www.1t3xt.com/docs/book.php
> > Or leave a tip: https://tipit.to/itexttipjar
> > 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to