color_thief_dart library
Functions
-
getColorFromImage(
Image image, [int quality = 10]) → Future< List< int> ?> -
returns the base color from the largest cluster, represented as
R,G,B
-
getPaletteFromBytes(
Uint8List imageData, int width, int height, [int? colorCount, int? quality]) → Future< List< List< ?>int> > -
getPaletteFromImage(
Image image, [int? colorCount, int? quality]) → Future< List< List< ?>int> > -
returns a list that contains the reduced color palette, represented as [
R,G,B
]