I have about 200 JPEG files that I need to include in a PDF document, one JPEG per page (i.e. 200 pages + intro slide). The following code successfully does this with one JPEG.
\documentclass{beamer}
\usepackage{graphics}
\title{Overview of Jpegs}
\subtitle{Example}
\author{Chris}
\institute{Office}
\date{February 02, 2012}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Slide with jpeg number 1}.
\includegraphics[height=8cm]{File_1.jpg}
\end{frame}
\end{document}
The JPEGs are named File_1.jpg, File_2.jpg, and so on.
I suppose a for-loop would be in place, but no matter how I try, I can't get it to work.
I created the JPEGs in RStudio (programming in R), but maybe this is more a pure LaTeX-question. I prefer to use JPEG as they are smaller than other formats.