dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.86k stars 1.68k forks source link

Native support for Blur implementation in Android #15745

Open Shalini-Ashokan opened 1 year ago

Shalini-Ashokan commented 1 year ago

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.

ghost commented 1 year ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.