B4A Library b4aFastBlurUtil

screen.png

B4X:
Private ivbig As ImageView
    Private ivsmall As ImageView
    Dim fbu As FastBlurUtil
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    Activity.LoadLayout("1")
    ivsmall.Bitmap=LoadBitmap(File.DirAssets,"avatar.jpg")
    ivsmall.Gravity=Gravity.FILL
    ivbig.Bitmap=fbu.toBlur(LoadBitmap(File.DirAssets,"avatar.jpg"),2)
    ivbig.Gravity=Gravity.FILL
 

Attachments

  • FastBlurUtil.zip
    3.7 KB · Views: 248
Top