setOptimizeDrawableSize

fun setOptimizeDrawableSize(optimizeImageSize: Boolean)

If true, the drawable will render the image at the size of its bounds instead of the full image size. This can reduce memory usage and improve performance when rendering large images in small views. If for some reason you need to render the full image size, set this to false. The default is true. Possible cases when you need to render full quality image that might be zoomed later.