Generalimporting .jpg pictures

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
quodlibet
Posts: 3
Joined: Fri May 09, 2008 4:34 pm

importing .jpg pictures

Post by quodlibet »

hello!

I'm trying to import a .jpg picture in LaTex.
This is what I'm doing:

I included \usepackage{graphicx} in the preamble, then

\begin{figure}[h]
\centering
\includegraphics[scale=1.0]{PIC-NAME}
\label{fig:thesis-cover-pic}
\end{figure}

but LaTeX gives me the following error: `Cannot determine size of graphics in PIC-NAME.jpg (no BoundingBox).

I can't sort the problem out. :oops:
Can someone help me out with this, please?

Thank you very much! :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Re: importing .jpg pictures

Post by Stefan Kottwitz »

Hi quodlibet,

to import jpg pictures pdflatex is necessary. Compile with pdflatex instead of latex, use the output profile LaTeX => PDF, not LaTeX => DVI or LaTeX => PS => PDF.

Stefan
LaTeX.org admin
Post Reply