title: Android's PdfRenderer class produces low quality images
body: <p>I'm using <code>PdfRenderer</code>above api 21 to display pdf in my app and I noticed that the quality of pages is very poor.
  I followed also google sample to use <code>PdfRenderer</code> and this is how I create <code>Bitmap</code> for page:</p>
  
  <pre><code>//mCurrentPage is a PdfRenderer.Page and mImageView is an ImageView
  Bitmap bitmap = Bitmap.createBitmap(mCurrentPage.getWidth(), 
                      mCurrentPage.getHeight(),
                      Bitmap.Config.ARGB_8888);
  mCurrentPage.render(bitmap, null, null, PdfRenderer.Page.RENDER_MODE_FOR_DISPLAY);
  mImageView.setImageBitmap(bitmap);
  </code></pre>
  
  <p>I used <code>ARGB_8888</code> because as far as I know, it's the best quality to display bitmaps.
  Am i doing something wrong?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>This is the huge difference between PdfRenderer class and a classic Pdf reader:</p>
  
  <p><a href="https://i.stack.imgur.com/tqRSDm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tqRSDm.png" alt="enter image description here"></a>        <a href="https://i.stack.imgur.com/IAj1sm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IAj1sm.png" alt="enter image description here"></a></p>