I have a text file which I convert to a PNG using our proprietary java
code.Using java I draw primitive graphics  objects like lines , rectangles
onto the image. They appear to be at the correct location.

Now I can also add the text in the text file to a PDF using iText and draw
the same lines and rectangles onto the PDF file. I could do this using the
PDFStamper.

But the line appears longer and the rectangle larger and also displaced from
its original location.

I have tried translating, scaling  nothing seems to work.

Has anyone ever tried this in the past.

Attached are the png files and the pdf files with the graphics object drawn
onto it.

Help would be appreciated.

Thanks,

http://www.nabble.com/file/p18652658/Stamped.pdf Stamped.pdf 

http://www.nabble.com/file/p18652658/localhost.png localhost.png 


-- 
View this message in context: 
http://www.nabble.com/Graphics-objects-added-to-PDF-being-made-larger-tp18652658p18652658.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to