[tex-live] Included .jpg figures to small

Jonathan Kew jonathan_kew at sil.org
Tue Nov 13 13:43:16 CET 2007


On 13 Nov 2007, at 12:20 pm, Mojca Miklavec wrote:

> On 11/12/07, Gunther Rens wrote:
>> Hi,
>> I'm trying to switch from MikTex on PC to Live Tex (TexShop) on mac.
>> I'm trying to typeset files which turn out fine on MikTex. Everything
>> turns out exact the same exept for my .jpg figures: they are given  
>> the
>> right amount of space in the text, but for some of my figures all I
>> get is very small thumbnail-like figure on the botom end of that  
>> space.
>> It seems that only the figures I prepared in photoshop are  
>> affected. I
>> save my figures as RGB color, 8 bits/channel, high quality (8). I use
>> the graphicx package to include on TexShop v2.14.
>> Somebody an idea?
>
> Which engine? How exactly do you include the figures (sample code)?

Yes, "which engine" (pdftex or (dvi)-tex, and in the latter case  
which output driver) is probably the key question. I've seen  
differences in how drivers handle .jpg images; some always respect  
the image's resolution, and scale accordingly, while others assume  
the resolution is always 72dpi or 100dpi or something. If the driver  
behaves differently from the code that calculates the bounding box  
for TeX, you'll see problems like this.

Most likely, you're using pdftex through TeXShop (I think that's the  
default setting), but were using a dvi-based workflow with MikTeX.  
I'm not really familiar with how pdftex handles image resolution,  
though, or how graphicx measures them.

What resolution (dpi) does Photoshop say the problem images have? I'm  
guessing they're high-res (300dpi or more), and being printed  
accordingly (so they come out small), but are being measured during  
typesetting as though they were 72dpi.

JK



More information about the tex-live mailing list