title: save image after cropping in android
body: <p>am trying to save cropped image and it is successfully being saved but the problem is that the saved image is too small. I want to get the original dimension of cropped image. here is my code for saving cropped image.</p>
  
  <pre><code>Bundle extras = data.getExtras();
  if (extras != null) {
   Bitmap photo = extras.getParcelable("data");
  ByteArrayOutputStream bytes = new ByteArrayOutputStream();
  photo.compress(Bitmap.CompressFormat.PNG, 100, bytes);
  File f = new File(fileUri.getPath());
   try {
  f.createNewFile();
  FileOutputStream fo = new FileOutputStream(f);
  fo.write(bytes.toByteArray());
  fo.close();
  } catch (IOException e) {
  e.printStackTrace();
  }
  </code></pre>
  
  <p>can any one help me to get high quality cropped image. any help would be much appreciated. thanks :)</p>