.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using the following lines of code to extract the theme color of the bitmap image in Xamarin, and I am not able to find how to replace this with the working code in Maui.
palette = Android.Support.V7.Graphics.Palette.From(bitmap).Generate();
var swatch = palette.VibrantSwatch;
swatch ??= palette.DominantSwatch;
var color = swatch.Rgb;