title: PDFBox pdf to image generates overlapping text
body: <p>For a side project I started using PDFBox to convert pdf file to image. This is the pdf file I am using to convert to image file <a href="https://bitcoin.org/bitcoin.pdf" rel="nofollow">https://bitcoin.org/bitcoin.pdf</a>.</p>
  
  <p>This is the code I am using. It is very simple code which calls PDFToImage. But the output jpg image file looks really bad with lot of commas inserted and some overlapping text.</p>
  
  <pre><code>    String [] args_2 =  new String[7];
      String pdfPath = "C:\\bitcoin.pdf";
      args_2[0] = "-startPage";
      args_2[1] = "1";
      args_2[2] = "-endPage";
      args_2[3] = "1";
      args_2[4] = "-outputPrefix";
      args_2[5] = "my_image_2";
      //args_2[6] = "-resolution";
      //args_2[7] = "1000";
      args_2[6] = pdfPath;
      try {
          PDFToImage.main(args_2);
      } catch (Exception e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  </code></pre>