[Tex/LaTex] includegraphics scale not working

graphicspdftexsize;sweave

Im trying to change the size of the picture with "scale" but is not working

\documentclass{report}

\usepackage{graphicx}
\usepackage[left=1.5cm,top=1cm,right=1.5cm,bottom=1cm]{geometry}
\begin{document}
\SweaveOpts{concordance=TRUE}


\begin{figure}[htb]
\begin{center}
\includegraphics[scale=0.5]{D:/R/pdf/pruebas/caratula3.jpg}
\end{center}
\begin{center}
\includegraphics[scale=1]{D:/R/pdf/pruebas/caratula3.jpg}
\end{center}
\end{figure} 

\end{document}

This is the image.

This is the image

Thanks!

Best Answer

What do you mean it isn't working? What happens if you add an image with scale=1? Also, don't load graphics.

Consider the following:

\documentclass{report}

\usepackage{graphicx}
\usepackage[left=1.5cm,top=1cm,right=1.5cm,bottom=1cm]{geometry}
\begin{document}


\begin{figure}[htb]
\begin{center}
   \includegraphics[scale=0.5]{example-image-a}
\end{center}
\begin{center}
    \includegraphics[scale=1]{example-image-a}
\end{center}
\end{figure} 

\end{document}

enter image description here