From http://itextdocs.lowagie.com/tutorial/objects/images/index.php:

Note that the resolution of an image that is added without scaling will be 
72dpi by default. If an image is placed with a scaling of 50% the the 
resolution will be 144. With lower scalings the resolution will increase 
because the pixels are the same but the size will be smaller. To put a picture 
with 300dpi use a scaling of 72/300=24%. For instance: if you have a 5X5 inch 
image that you scan at 300 dpi, the resultant image is 1500X1500 pixels (5X300 
= 1500). When you place this image in the pdf with a scaling of 24% (72/300 = 
0.24), the image in the pdf will be 5X5 inch with 1500X1500 pixel at 300 dpi. 
The image will always be 1500X1500 pixel whatever the size.

Paulo 

> -----Original Message-----
> From: Eugen Denk [mailto:eugen.d...@itm-research.de] 
> Sent: Wednesday, May 06, 2009 2:26 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] iText DPI
> 
> 
> Dear all, 
> 
> I'm just testing the software "iText"  for creating PDF files.
> I have a question: How or where can I set the DPI resolution 
> of the created PDF file?
> 
> I need a resolution of at least 300 DPI or more. 
> 
> I create from a jpeg-File a pdf-File. 
> 
> Thanks.
> 
> Freundliche Grüße 
>   
> Eugen Denk 
>  
>       
> Eugen Denk
> 
> Softwareentwickler
> Softwareentwicklung
> 
>       
> ITM Research GmbH
> Blücherstraße 32
> 75177 Pforzheim
> Tel: +49 72 31-5 63 76-404
> Fax: +49 72 31-5 63 76-66
> Mail: e...@itmr.de <mailto:e...@itmr.de>  · www.itmr.de 
> <http://www.itmr.de/> 
>  
>   
> Geschäftsführer: Adnan Mumbasic
> Amtsgericht, Registergericht, Mannheim HRB 504532 · Sitz der 
> Gesellschaft: Pforzheim 
> 
> 
> 

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.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to