[texhax] includegraphics and image scaling

Peter Davis pfd at pfdstudio.com
Fri Dec 10 02:20:47 CET 2010


On Thu, Dec 9, 2010 at 6:58 PM, Heiko Oberdiek <
heiko.oberdiek at googlemail.com> wrote:

> On Thu, Dec 09, 2010 at 06:39:03PM -0500, Peter Davis wrote:
>
> > On Thu, Dec 9, 2010 at 6:13 PM, Peter Davis <pfd at pfdstudio.com> wrote:
> >
> > >
> > >
> > >> 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.
>
> Maybe. However, the EXIF header of your example also shows 72dpi.
>

jhead doesn't think so.


> >
> > C:\Users\peterd\images>jhead -v Chrysanthemum.jpg
> > JFIF SOI marker: Units: 1 (dots per inch)  X-density=96 Y-density=96
>
> Do you have an example image that can be analyzed?
>
>
Can I attach to this email?  Or do I need to put it on a Web site somewhere?


> What's the result of:
>
> \sbox0{\includegraphics{Chrysanthemum.jpg}}
> \show\wd0
> \show\ht0
>


<use  "C:/Users/Public/Pictures/Sample Pictures/Chrysanthemum.jpg" >
> \wd=\wd.
l.8 \show\wd
            0
?


Thanks!
-pd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101209/19446df1/attachment-0001.html>


More information about the texhax mailing list