Color extraction from a part of an image

Using Palette API (https://developer.android.com/training/material/palette-colors.html) can you add a method to extract colours from a specific part of an image? For example, extract the colour from the lower half of an image, or from the edges of an image.

1 Like

This would be really really useful, please add this @frankmonza

Being able to define a ‘region’ for the Palette API to look at would make dynamic themes so much more accurate. Right now, if I’m stuck on a specific layout, I usually just run the image through Color Palette Extractor to pinpoint the exact hex from the area I’m targeting and then just set it as a variable. Having that native in Kustom would be a game changer for UI consistency though.

1 Like