palEx: Color Palettes extractor

Description Usage Arguments Value See Also

View source: R/palEx.R

Description

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

Usage

1
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

stats::kmeans


SwampThingPaul/LimnoPalettes documentation built on Oct. 30, 2021, 5:14 p.m.