Skip to content

Native support for Blur implementation in Android #15745

Open
@Shalini-Ashokan

Description

Description

The current Android framework lacks native support for implementing blur effects, leading to developers relying on deprecated methods or third-party libraries to achieve blurring in their applications.

Public API Changes

Method: ApplyBlur(Bitmap source, int radius)
Description: Applies a blur effect to the provided Bitmap with the specified radius.
Parameters:
source: The input Bitmap to apply the blur effect on.
radius: The blur radius to determine the intensity of the blur effect.
Return Type: Bitmap: The resulting blurred Bitmap.

Intended Use-Case

Apply a blur effect to an image in an Android app by using the proposed blur API. Enhance the visual appeal of the image and create a more engaging user experience. Simply retrieve the image, call the ApplyBlur() method with a desired blur radius, and display the updated image with the applied blur effect. Easily implement professional-looking image blurring in your app with minimal code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions