jayrambhia / CropperNoCropper

Instagram Style Image Cropper for Android (Library)
http://www.jayrambhia.com/project/nocropper-library
Apache License 2.0
475 stars 99 forks source link

how to get "bitmap" from our image-view(CropperView)? #12

Closed shaileshmulange closed 8 years ago

shaileshmulange commented 8 years ago

I have tried to get "bitmap" from CropperView like our regular android image-view. In android, we get "bitmap" using the following line BitmapDrawable drawable = (BitmapDrawable) iv_image.getDrawable(); Bitmap image = drawable.getBitmap(); I have tried same thing with CropperView but getDrawable() method is not working. I want bitmap for the change its brightness. I get the bitmap from CropperView using Bitmap bitmap = mImageView.getCroppedBitmap(); but unable to change brightness for image-view using this bitmap.

OR Simple, please tell me how to change brightness for image-view using CropperView.

jayrambhia commented 8 years ago

CropperView.getCroppedBitmap()