I have my application that is displaying images with different ratio, resized inside (centerInside) imageView. What I need is to create bitmap from the ImageView including t
It works in Kotlin after buildDrawingCache() being deprecated
buildDrawingCache()
// convert imageView to bitmap val bitmap = (imageViewId.getDrawable() as BitmapDrawable).getBitmap()