The dpi is correct, there's nothing wrong with the image or iText. When showing 
the image you must scale it differently for the width and the height.

Paulo

________________________________
From: Steve Roberts [mailto:[email protected]]
Sent: Tuesday, March 22, 2011 2:35 PM
To: [email protected]
Subject: [iText-questions] getDpiY returning 50% of Actual for TIFF (images & 
pdfs attached)

Hi all,

When I send a fax from my fax machine -> fax server / tiff -> itext, getDpiY is 
returning 50% of the actual Y value.
Sending the same page from my fax modem -> fax server / tiff -> itext, getDpiY 
returns the correct 100% Y value.
Viewing both images in Irfanview shows correct X & Y values, both use Group 3 
Fax Encoding, both are 1 page and the sizes are comparable, 3.78MPixels vs. 
3.9MPixels.

Any ideas on why getDpiY is cut in half for the fax machine image?   Have there 
been updates to the image size determination in the last couple releases that 
would address the issue?

Thanks,
Steve Roberts




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.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to