62

I'm trying to change the image size (make it look smaller than the original).

I tried with the next code but the image still shows at its original size.

\begin{figure}[h!]
\centering
\includegraphics[width=50mm]{method.eps}
\caption{Overall process}
\label{fig:method}
\end{figure}

I am using TeXnic Center with profile latex>ps>pdf

Update:

It seems to work now but I do not why

I first built the project with the profile latex => ps and then I built it with latex=>ps=>pdf

  • Is it a tall image? – percusse Jul 26 '12 at 21:48
  • No, it is a horizontal image. – Enrique Jul 26 '12 at 21:53
  • 1
    Can you remove the extension .eps and try again and complete your code into a full one (making a minimal working example)? – percusse Jul 26 '12 at 21:58
  • I think its because the file does not include meta-data information. similar question – Enrique Jul 26 '12 at 22:02
  • 1
    @Enrique If the problem is in missing bounding box information, you should be able to see it in the log file. – egreg Jul 27 '12 at 7:34
62

Use the scale=0.5 option in the \includegraphics command to shrink the image to 50% of its original size. That is, \includegraphics[width=50mm,scale=0.5]{method.eps}. You can use a different percentage if needed.

  • 2
    It did not work – Enrique Jul 26 '12 at 22:40
  • 1
    @Enrique - please be a bit more specific as to what doesn't work. Do you get an error message? Is there no error message but the image is still too large? If so, what's the original image size? – Mico Jul 26 '12 at 23:28
  • It did not change the image size. I have fixed the problem. See updated question. – Enrique Jul 27 '12 at 0:36
  • What is the use of {method.eps}? – Dhruv Ghulati Sep 8 '16 at 1:03
12

I usually just do \includegraphics[width=0.7\columnwidth]{figure}, where 0.7 is the fraction of the column width.

This is useful for IEEE double column papers.

  • 1
    \linewidth might be a wee bit safer, as it usually works well also inside \parboxes and minipages. – campa Apr 11 '18 at 15:53
5

\includegraphics[scale=0.25] {name.jpg} This works well. scale=0.25 is to shring the image to 0.25 but can use any ratio.

  • 2
    Welcome, what information does your answer add compared to the accepted answer? – Johannes_B Jul 16 '18 at 4:52

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.