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
-------------------------------------------------------------------------
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