[Solved] How to get Bitmap from ImageView using Glide [closed]


You can get bitmap of imageview with Glide aswell, the example is

Glide.with(this)
    .asBitmap()
    .load(yourURL)
    .into(object : CustomTarget<Bitmap>(){
        override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) {
            // you can use the bitmap here
        }
        override fun onLoadCleared(placeholder: Drawable?) {

        }
    })

solved How to get Bitmap from ImageView using Glide [closed]