title: Create a pdf with dimensions 1700pixels*2200pixels in java using pdfBox
body: <p>I have an application which opens a pdf file with dimensions 1700pixels*2200pixels. I will get dimensions of a rectangle drawn over a pdf from it. 
  When I am trying to create the same rectangle on a pdf, 
  I am using PdfBox which creates a pdf page with dimensions. </p>
  
  <pre><code>System.out.println(page.getMediaBox().getHeight());
  System.out.println(page.getMediaBox().getWidth());
  </code></pre>
  
  <p>results in :</p>
  
  <pre><code>612 
  792
  </code></pre>
  
  <p>How to convert the pdf coordinates from 1700*2200 to 612*792?</p>