A function to extract a Color palette from a input .jpg file.

palEx(file, n)

Arguments

file

.jpg file of image

n

Number of colors extracted

Value

A list of color values extracted from a user provided image (jpg format) based on k-means clustering of the image.

See also