Closed wasabeef closed 4 years ago
Update
Feature
[NEW] Get the bitmap directly.
Blurrry#get, Blurry#getAsync
Blurrry#get
Blurry#getAsync
// Sync val bitmap = Blurry.with(this) .radius(10) .sampling(8) .capture(findViewById(R.id.right_bottom)).get() findViewById<ImageView>(R.id.right_bottom).setImageDrawable(BitmapDrawable(resources, bitmap)) // Async Blurry.with(this) .radius(25) .sampling(1) .color(Color.argb(66, 255, 255, 0)) .capture(findViewById(R.id.left_bottom)) .getAsync { findViewById<ImageView>(R.id.left_bottom).setImageDrawable(BitmapDrawable(resources, it)) }
async(ImageComposerListener)
What does this change?
Update
Feature
[NEW] Get the bitmap directly.
Blurrry#get
,Blurry#getAsync
async(ImageComposerListener)
. Use getAsync(BlurTask.Callback) instead that.