title: LaTeX: How to set the pdf dpi when using images
body: <p>I'm writing my thesis in LaTeX and I have troubles with the image imports.</p>
  
  <p>I want to get my thesis as a PDF, which imports some JPEG images of charts and other things.  I'd like to have a higher resolution; by default MikTeX settings I have my image resized to a crappy resolution.</p>
  
  <p>I'm using MikTeX, Adobe Reader 9.4, Win7 32.</p>
  
  <p>How can I raise the resolution of the PDF produced from my LaTeX sources?</p>
  
  <p>Is there any other way to insert a pick without losing resolution?</p>
  
  <p>I know about vectorial formats, but I have only BMP or JPG to insert in my thesis.</p>
  
  <p>A part of the code is this: (the first 2 rows doesn't work =/)</p>
  
  <pre><code>\pdfpxdimen=2in    
  \divide\pdfpxdimen by 300
  
  \documentclass[12pt, a4paper]{report}
  
  \usepackage[italian]{babel}    
  \usepackage[T1]{fontenc}    
  \usepackage{graphicx}
  
  \begin{document}
  
  \include{Frontespizio}
  
  \newpage
  
  \include{Ringraziamenti}
  
  \tableofcontents 
  
  \newpage
  
  \include{Introduzione}
  
  \pagenumbering{roman}
  
  
  \pagenumbering{arabic}
  
  \pagestyle{fancy}
  
  \lhead{} \chead{} \rhead{\scriptsize \leftmark} \lfoot{}
  
  \cfoot{\thepage} \rfoot{}
  
  \renewcommand{\headrulewidth}{0.1pt}
  
  \include{Capitolo1}
  
  \newpage
  
  \end{document}
  </code></pre>
  
  <p>And the Image calling is:</p>
  
  <pre><code>\begin{figure*}[h]    
      \centering    
          \includegraphics[width=\textwidth]{UseCase.png}    
      \label{fig: Use Cases}    
  \end{figure*}
  </code></pre>