title: creatScaled Bitmap low quality
body: <p>hello guys i'm having a problem with scaling an image to square size. 612 * 612 </p>
  
  <p>first i'm getting the image as cache from the imageview and then i'm converting it to Bitmap image. </p>
  
  <pre><code>    view.setDrawingCacheEnabled(true);
      view.buildDrawingCache();
      save = view.getDrawingCache();
  </code></pre>
  
  <p>then i'm using <code>Bitmap.createScaledBitmap</code> as below</p>
  
  <pre><code>     Bitmap a = Bitmap.createScaledBitmap(save, 612, 612, true);
  </code></pre>
  
  <p>it works as i want it but when the image scaled it lose its  quality </p>
  
  <p>here is how i <code>compress</code> the image to save it / share it </p>
  
  <pre><code>        a.compress(Bitmap.CompressFormat.PNG, 100, out);
  </code></pre>
  
  <p>i'm sharing it through my application to Instagram to fit inside instagram cropping tool but the image always will be low quality. 
  can anyone tell me how do i scale / resize  the image dimension without losing its quality or to fit inside instagram cropping tool without losing quality. thanks </p>