118

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

6
  • 1
    Is it a tall image?
    – percusse
    Jul 26, 2012 at 21:48
  • 1
    No, it is a horizontal image.
    – Enrique
    Jul 26, 2012 at 21:53
  • 2
    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, 2012 at 21:58
  • 1
    I think its because the file does not include meta-data information. similar question
    – Enrique
    Jul 26, 2012 at 22:02
  • 2
    @Enrique If the problem is in missing bounding box information, you should be able to see it in the log file.
    – egreg
    Jul 27, 2012 at 7:34

4 Answers 4

112

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.

7
  • 6
    It did not work
    – Enrique
    Jul 26, 2012 at 22:40
  • 4
    @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, 2012 at 23:28
  • 1
    It did not change the image size. I have fixed the problem. See updated question.
    – Enrique
    Jul 27, 2012 at 0:36
  • 1
    What is the use of {method.eps}? Sep 8, 2016 at 1:03
  • 7
    @Enrique Sems like you can't combine scale and width. But if you only use scale it works for me. Oct 20, 2020 at 15:27
50

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.

3
  • 8
    \linewidth might be a wee bit safer, as it usually works well also inside \parboxes and minipages.
    – campa
    Apr 11, 2018 at 15:53
  • This is more copy-paste friendly than the accepted answer, which requires a different number for each image. Jan 31, 2022 at 4:40
  • What if I have two images side by side, would it be okay to use 0.7?
    – hana
    Jun 8, 2022 at 18:03
17

\includegraphics[scale=0.25] {name.jpg}

This works well. scale=0.25 is to shrink the image to 0.25 but can use any ratio.

2
  • 4
    Welcome, what information does your answer add compared to the accepted answer?
    – Johannes_B
    Jul 16, 2018 at 4:52
  • 6
    @Johannes_B the original answer uses both width= and scale=, which is not a good idea. Use either but not both.
    – A.G.
    Jun 19, 2020 at 11:50
-2

Based on my experience, I added [scale=0.25] after \includegraphics [scale=0.25] is used to reduce the image to a Scale of 0.25. However there could use other ratios.

Previously I added [scale=0.25] :

\includegraphics{Research methodology.png}}

After I add [scale=0.25] the result is as follows:

\includegraphics[scale=0.25]{Research methodology.png}}

And examples of other formats like this :

\includegraphics[width=4cm]{Research methodology.png}}
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .