[texhax] includegraphics and image scaling

Peter Davis pfd at pfdstudio.com
Thu Dec 9 23:12:07 CET 2010


On Thu, Dec 9, 2010 at 4:51 PM, Martin Schröder <martin at oneiros.de> wrote:

> 2010/12/9 Peter Davis <pfd at pfdstudio.com>:
> > I have a couple of .jpg files that are 1024 x 768 pixels, with a
> resolution
> > of 96dpi.  If I just include them in my LaTeX document with:
> > \includegraphics{xyz.jpg}
> > they appear on the page at 1024bp x 768bp.  In effect, the resolution is
> > ignored, and they're scaled up by 1/3.
>
> Which makes me believe that the program (you're not saying what you're
> using) thinks the images have 300dpi.
>
> What's the output of
> - "identify -verbose" (from imagemagick)
> - "jhead -v" (from jhead)
> of the picture? Can you put one online for study?
>

I just installed imagemagick.  The output from "identify -verbose" is below.
 These are just the sample pictures that come with Windows.  I'm using them
for test purposes.  I can email or post them, if you'd like.

Image: Chrysanthemum.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 1024x768+0+0
  Resolution: 72x72
  Print size: 14.2222x10.6667
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 7 (0.027451)
      max: 255 (1)
      mean: 203.143 (0.796639)
      standard deviation: 48.4135 (0.189857)
      kurtosis: 0.148327
      skewness: -0.891388
    Green:
      min: 0 (0)
      max: 210 (0.823529)
      mean: 35.5078 (0.139246)
      standard deviation: 42.9269 (0.168341)
      kurtosis: -0.603123
      skewness: 0.861148
    Blue:
      min: 0 (0)
      max: 195 (0.764706)
      mean: 9.24293 (0.0362468)
      standard deviation: 16.2784 (0.0638367)
      kurtosis: 5.78893
      skewness: 2.25643
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 82.6312 (0.324044)
      standard deviation: 38.5209 (0.151062)
      kurtosis: 64.188
      skewness: 10.2377
  Rendering intent: Undefined
  Interlace: None
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Compose: Over
  Page geometry: 1024x768+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 99
  Orientation: Undefined
  Properties:
    date:create: 2010-12-06T16:44:25-05:00
    date:modify: 2009-07-13T23:52:25-04:00
    exif:Artist: Corbis
    exif:Compression: 6
    exif:DateTime: 2009:03:12 13:46:42
    exif:DateTimeDigitized: 2008:03:14 13:59:26
    exif:DateTimeOriginal: 2008:03:14 13:59:26
    exif:ExifOffset: 125
    exif:JPEGInterchangeFormat: 313
    exif:JPEGInterchangeFormatLength: 4636
    exif:SubSecTimeDigitized: 54
    exif:SubSecTimeOriginal: 54
    exif:WinXP-Author: 77, 77, 0, 42, 0, 0, 0, 8, 0, 7, 1, 50, 0, 2
    exif:XResolution: 72/1
    exif:YResolution: 72/1
    jpeg:colorspace: 2
    jpeg:sampling-factor: 1x1,1x1,1x1
    rdf:Alt:
     signature:
ef7aaac212c775ec4a88aa8170d32cbd5611418aa755b139cc0fd4967b7bf6aa
    unknown: 4
  Profiles:
    Profile-APP12: 15 bytes
    Profile-exif: 4955 bytes
    Profile-iptc: 54 bytes
      unknown[2,0]:
      Byline[2,80]: Corbis
      Copyright String[2,116]:   Corbis.  All Rights Reserved.
    Profile-xmp: 4085 bytes
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 879KBB
  Number pixels: 786KB
  Pixels per second: 19.66MB
  User time: 0.047u
  Elapsed time: 0:01.040
  Version: ImageMagick 6.6.6-3 2010-12-01 Q8 http://www.imagemagick.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101209/f79b8a0f/attachment-0001.html>


More information about the texhax mailing list