<br><div class="gmail_quote">On Fri, Dec 10, 2010 at 1:35 AM, Heiko Oberdiek <span dir="ltr"><<a href="mailto:heiko.oberdiek@googlemail.com">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 class="im">On Thu, Dec 09, 2010 at 11:12:36PM -0500, Peter Davis wrote:<br>
<br>
> <a href="http://www.pfdstudio.com/images/Chrysanthemum.jpg" target="_blank">http://www.pfdstudio.com/images/Chrysanthemum.jpg</a><br>
<br>
</div>Quick results of:<br>
<br>
* file:<br>
  JPEG image data, JFIF standard 1.02, resolution (DPI), 96 x 96<br>
* bmpsize-test:<br>
  Type: jpg<br>
  Pixel width: 1024 px<br>
  Pixel height: 768 px<br>
  Density x: 96 dots per 72.27pt<br>
  Density y: 96 dots per 72.27pt<br>
  Width: 767.99854 bp<br>
  Height: 575.99863 bp<br>
pdfTeX:<br>
  770.87813pt, 578.15858pt<br>
XeTeX:<br>
  1027.83746pt, 770.87813pt<br>
ImageMagick 5.5.7:<br>
    x-Resolution: 72/1<br>
    y-Resolution: 72/1<br>
  Resolution: 96x96 pixels/inch<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Thank you, Heiko.  So it appears that pdfTeX gets it right, but ImageMagick and XeTeX incorrectly use 72dpi as the resolution.</div><div><br>
</div><div>If I could use the fontspec package with pdfTeX, I'd switch to that.  As is, I suppose I have to check the pixel dimensions and resolution somehow in my own code, and simply specify the desired width and height in the tex file.</div>
<div><br></div><div>Thank you.</div><div><br></div><div>-pd</div><div><br></div></div>