<br><div class="gmail_quote">On Thu, Dec 9, 2010 at 6:07 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div class="im">On Thu, Dec 9, 2010 at 6:08 PM, Heiko Oberdiek <span dir="ltr"><<a href="mailto:heiko.oberdiek@googlemail.com" target="_blank">heiko.oberdiek@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Thu, Dec 09, 2010 at 05:12:07PM -0500, Peter Davis wrote:<br>
<br>
> On Thu, Dec 9, 2010 at 4:51 PM, Martin Schröder <<a href="mailto:martin@oneiros.de" target="_blank">martin@oneiros.de</a>> wrote:<br>
><br>
> > 2010/12/9 Peter Davis <<a href="mailto:pfd@pfdstudio.com" target="_blank">pfd@pfdstudio.com</a>>:<br>
> > > I have a couple of .jpg files that are 1024 x 768 pixels, with a<br>
> > resolution<br>
> > > of 96dpi. If I just include them in my LaTeX document with:<br>
> > > \includegraphics{xyz.jpg}<br>
> > > they appear on the page at 1024bp x 768bp. In effect, the resolution is<br>
> > > ignored, and they're scaled up by 1/3.<br>
<br>
</div><div>> > What's the output of<br>
> > - "identify -verbose" (from imagemagick)<br>
<br>
</div>> Image: Chrysanthemum.jpg<br>
<div>> Geometry: 1024x768+0+0<br>
> Resolution: 72x72<br>
> Print size: 14.2222x10.6667<br>
> Units: PixelsPerInch<br>
<br>
</div>The resolution is 72dpi, not 96dpi.<br></blockquote><div><br></div><div><br></div></div><div>Interesting. The Windows Photo Viewer clearly lists it as 96dpi horizontally and vertically:</div><div><br></div><div>...</div>
<div><br></div><div>I've run into this before ... where different tools report different resolutions for JPEG files. If memory serves, ImageMagick always reported 72dpi, whereas the IJG JPEG Library reported something else. I think this is the result of multiple file formats with potentially inconsistent fields.</div>
</div></blockquote><div><br></div><div><br></div><div>Interestingly, Adobe Photoshop CS5 and Adobe InDesign CS5 report the image resolution as 96ppi.</div><div><br></div><div>I'm using XeTeX (xelatex). Is that using ImageMagick internally to get the resolution?</div>
<div><br></div><div>-pd</div><div><br></div><div><br></div></div>