----------------------------------------
> From: psoa...@glintt.com
> To: itext-questions@lists.sourceforge.net
> Date: Mon, 31 May 2010 11:21:30 +0100
> Subject: Re: [iText-questions] getDpiX, Y returns 0 or wrong value but 
> WinExplorer and Acrobate get Dpi
>
> Why do you think iText is wrong? Post the images for inspection.
>
> Paulo
>
> -----Original Message-----
> From: dermoritz [mailto:tantea...@hotmail.com]
> Sent: Monday, May 31, 2010 11:17 AM
> To: itext-questions@lists.sourceforge.net
> 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?

You could probably get something like imagemagick and use identify to
dump the metadata for the images that work and those that don't. I don't 
know formats well enough to know what is posible but looking at stuff I have
from various phnes/cameras, it seems there is a resolution entry but also 
something
called "Exif" thta contains more res info. I guess it is possible that some 
images only
have it in a non standard but well known location.


>
>
> 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
> iText-questions@lists.sourceforge.net
> 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/
                                          
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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/

Reply via email to