[Tex/LaTex] Inserting B/W .jpg image causes image to be entirely black

graphicspdftex

I am working with .jpg images that are all B/W. Here is an example image I am using:

Sample image

and here is what I am using to put the image into my document:

\begin{figure}[!htb]
\centering
\includegraphics[width=0.5\textwidth]{1980image}
\caption[Sample Caption]{Sample Caption}
\end{figure}

However, when I run, the image becomes entirely black. Here is a screenshot from my document:

All black image

Has anyone seen this before? Changing the filetype to .png does not fix anything.

Best Answer

I had the line \usepackage[demo]{graphicx}. Removing the [demo] in this line fixed the problem.

Related Question