Why do you think iText is wrong? Post the images for inspection. Paulo
-----Original Message----- From: dermoritz [mailto:[email protected]] Sent: Monday, May 31, 2010 11:17 AM To: [email protected] Subject: [iText-questions] getDpiX, Y returns 0 or wrong value but WinExplorer and Acrobate get Dpi i have some Problems with image.getDpiX/Y (iText 5.0.2) on some Images. This Images come from different digital camaras and WinExplorer shows for all of the 240dpi. I rotated one of them 90° via the WindowsXP build in image viewer. For this rotated image getDpi returns 96dpi! But still WinExplorer an Acrobat and MS-Office Picture Manager show 240dpi for all Images. So why iText cant't get correct dpi from them? 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. ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
