I'm including a jpg figure in my LaTeX document like this:

    % fbox here only for illustrative purposes
%   \includegraphics[width=\textwidth,keepaspectratio]{Pictures/LesNocesdeCana-PaoloVeronese}
    \caption{\emph{Healing at the Pool of Bethesda} (1883) by Carl Bloch.}

However, the picture is not being properly scaled. I want the picture to be as wide as the text on the page with the aspectratio kept the same. I get this instead; you can see the box where the image should be:

Example of image not being scaled properly

If I simply replace the image with a different image (as shown in the commented line above) everything works as expected.

Why isn't my image being scaled properly? Am I missing something obvious?

The original image is this:

Original image

PS. I'm using the graphicx package with no options.

  • 2
    Probably the graphic has some margins. Put \fbox around the image to see it. Or remove the keepaspectration key. – Ulrike Fischer Jul 2 '14 at 12:03
  • 1
    It might be useful for us to see that image, or as Ulrike suggests, wrap it in \fbox{...} in order to visually see where the edges of the image is. BTW: the keepaspectratio should not be necessary when you are only adding one scaling parameter. Should not do any harm either. – daleif Jul 2 '14 at 12:12
  • 2
    It is also possible that the graphic contains faulty resolution information (or that they are missing). – Ulrike Fischer Jul 2 '14 at 12:14
  • The second image works fine for me. But I doubt that it "the original image", tex.sx postprocesses images. You should put the image in a zip-file somewhere for download. – Ulrike Fischer Jul 2 '14 at 12:25
  • Try downloading from here: dropbox.com/s/3bs5v3yyml0buzr/PoolofBethesda-CarlBloch.jpg – jlconlin Jul 2 '14 at 12:31

Just for a larger comment. This works just fine for me

% I do not have that path on my PC

  \caption{\emph{Healing at the Pool of Bethesda} (1883) by Carl Bloch.}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.