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
22.23k stars 1.76k forks source link

Native support for Sharpen implementation in Android #15747

Open Shalini-Ashokan opened 1 year ago

Shalini-Ashokan commented 1 year ago

Description

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

Public API Changes

Method: ApplySharpen(Bitmap source, float strength) Description: Applies a sharpening effect to the provided Bitmap with the specified strength. Parameters: source: The input Bitmap to apply the sharpening effect on. strength: The strength of the sharpening effect to be applied. Return Type: Bitmap: The resulting sharpened Bitmap.

Intended Use-Case

Apply a sharpening effect to an image in an Android app using the proposed sharpen API. Enhance the image's clarity and definition for a more visually appealing user experience. Retrieve the image, call the ApplySharpen() method with the desired strength, and display the updated image with the sharpening effect applied. Effortlessly implement professional-level image sharpening 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.