Well here is what I wanted in english: I guess that I want to create my PDFs with PDFGraphics2D is clear. I am basically using this g2d-Graphics2D-Object to paint Text and Images on it.
Well, let's say in the pdf there is an image the size of a square-inch. When I created this image in the pdf I drew a 8 MegaPixel BufferedImage with g2d.drawImage(image, ..., ...). This means this 8 M Pixel image will be in a square-inch on paper...
To get a good print 300 dpi is enough for me - so 8 M Pixel in a square-inch is much more then 300 dpi.
Well I could simply scale down the 8MPixel Image to 1 M Pixel before I use the g2d.drawImage(...) method. I just wondered if this could be done directly by iText - I would like to specify a maximal resolution ( e.g. 300 dpi), and iText would do the down-scaling for me (I don't want too big pdfs - size does matter).
I guess according to your answers, iText can't do it, and I have to do it myself ?! Can you at least tell me if my scaling approach makes sense ?
Cheers,
jago
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions