I am writing a thesis in a large .tex file in Vim. I have a .jpg and .png high quality native images, that converted to .eps result in very a low quality. Visually, it is a lower quality. Therefore, I would like to include the jpg's and png's directly.
In the preamble, I declare:
\usepackage{graphicx}
And I also have the graphicx.sty file in the same folder.
When I complie, I get this error:

Here is the link to direct download of the image, in order to check previously if a possible solution works:
https://www.mediafire.com/?71cl62619ty6c9r
My preamble is this:
\documentclass[12pt,a4paper,twoside,openany]{report}
\usepackage[left=2.5cm,top=2.5cm,right=2.5cm,bottom=2.5cm]{geometry}
\parindent 1 true cm
\usepackage{graphicx}
\usepackage{eufrak}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage{float}
\usepackage{color}
\usepackage[longnamesfirst,super]{natbib}
\setcitestyle{square}
\usepackage{fancyhdr} %llama al paquete para definición de estilo de pagina
\pagestyle{fancy} %Idem
\renewcommand{\chaptermark}[1]{\markboth{\thechapter .\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection .\ #1}{}}
\lhead{\nouppercase}
\rhead{\nouppercase}
\fancyhead[LE]{{\sf \leftmark}}
\fancyhead[RE]{}
\fancyhead[RO]{{\sf \rightmark}}
\fancyhead[LO]{}
\fancyfoot[LE,RO]{\thepage}
\fancyfoot[CE,CO]{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\baselinestretch}{1.25}
\usepackage{adjustbox}
\usepackage{enumerate} % Para poder poner un enumerar en I.
\usepackage{courier}
\usepackage[version=3]{mhchem}
\usepackage{rotating}
\usepackage[percent]{overpic}
\begin{document}
Here is the code that introduces the image:
\begin{figure}
\centering
\includegraphics{image.jpg}
\label{image}
\end{figure}
I would appreciate very much if someone could help me, making tests with the image provided above, using my preamble, and the code that introduces the image. (I am writing the thesis .tex file in Vim).
pdflatex, notlatex– egreg Jun 18 '14 at 20:38latexrather thanpdflatex: only direct PDF inclusion enables PNG and JPG inclusion. Either change your tool or convert your graphics to EPS format. – Joseph Wright Jun 18 '14 at 20:38Here there is the script: https://www.mediafire.com/?p6ha13gt53nilpv Ok, so how could I use pdflatex ?
– DavidC. Jun 18 '14 at 20:48latexintopdflatexin the.shfile – egreg Jun 18 '14 at 20:50I have tried including
after the line
\usepackage{graphicx}
and with pdflatex in the script. The result is still error in the compilation with the .eps figures
– DavidC. Jun 18 '14 at 21:23\includegraphics{}commands and add-shell-escapeto yourpdflatexcall as discussed in the linked answer? – Paul Gessler Jun 18 '14 at 21:27\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Jun 18 '14 at 21:54tiger.eps: `\documentclass{report} \usepackage{graphicx} \usepackage{epstopdf}\begin{document} \includegraphics[width=0.5\linewidth]{example-image-a} \includegraphics[width=0.5\linewidth]{tiger} \end{document}`. That works on my system.
– Paul Gessler Jun 18 '14 at 22:18