title: Pdfbox - Issues with image quality in PDF's
body: <p>I understand that pdfbox allows you to insert jpegs into generated PDF's, however the resulting image quality is fairly poor. My initial work has proven this assumption. Does anyone out there who has used pdfbox have any suggestions? I'm trying to generate dynamic text/tabular content for print on a weekly basis. Perhaps there's a way to tweak the resulting pdf quality somehow? Or even some other opensource suggestions? </p>
  
  <p>I've looked into using iText, but it's licensing is really driving me away from using it. Here's a sample of how I currently add an image to a document. </p>
  
  <pre><code>    InputStream in = new FileInputStream(new File("img.jpg"));
      PDJpeg img = new PDJpeg(document, in);
      ....
      contentStream.drawImage(img, 10, 700);
  </code></pre>