theming-material / Class

ImageSeedColorExtractor

Decorators:@Injectable

No documentation has been provided.

Properties

NameTypeDescription
pixels
p
ImagePixelExtractor

Methods

async

fromUrl()

Extracts seed colors from the image at the given URL, sorted by relevance.

Presentation
async fromUrl(url: string): Promise<number[]>;
Parameters
NameTypeDescription
url
string
Returns
Promise<number[]>