Closed samoilovich closed 8 years ago
Hello. My name is Natali.
My problem is in OOM. Cropped image if larger then origin ImageView. Can you explain how it can be?
Log.e("issue", "issue width =" + cropImageView.getWidth() + "; height =" + cropImageView.getHeight()); Bitmap croppedPhoto = cropImageView.getCroppedBitmap(); Log.e("issue", "issue croppedPhoto width =" + croppedPhoto.getWidth() + "; height =" + croppedPhoto.getHeight())
Log.e("issue", "issue width =" + cropImageView.getWidth() + "; height =" + cropImageView.getHeight());
Bitmap croppedPhoto = cropImageView.getCroppedBitmap();
Log.e("issue", "issue croppedPhoto width =" + croppedPhoto.getWidth() + "; height =" + croppedPhoto.getHeight())
06-24 08:42:55.297 17725-17725 E/issue: issue width =720; height =1003 06-24 08:42:55.677 17725-17725 E/issue: issue croppedPhoto width =1069; height =1900
06-24 08:42:55.297 17725-17725 E/issue: issue width =720; height =1003
06-24 08:42:55.677 17725-17725 E/issue: issue croppedPhoto width =1069; height =1900
Thanks.
Hello. My name is Natali.
My problem is in OOM. Cropped image if larger then origin ImageView. Can you explain how it can be?
Log.e("issue", "issue width =" + cropImageView.getWidth() + "; height =" + cropImageView.getHeight());
Bitmap croppedPhoto = cropImageView.getCroppedBitmap();
Log.e("issue", "issue croppedPhoto width =" + croppedPhoto.getWidth() + "; height =" + croppedPhoto.getHeight())
06-24 08:42:55.297 17725-17725 E/issue: issue width =720; height =1003
06-24 08:42:55.677 17725-17725 E/issue: issue croppedPhoto width =1069; height =1900
Thanks.