imgpalr: Create Color Palettes from Images

Provides ability to create color palettes from image files. It offers control over the type of color palette to derive from an image (qualitative, sequential or divergent) and other palette properties. Quantiles of an image color distribution can be trimmed. Near-black or near-white colors can be trimmed in RGB color space independent of trimming brightness or saturation distributions in HSV color space. Creating sequential palettes also offers control over the order of HSV color dimensions to sort by. This package differs from other related packages like 'RImagePalette' in approaches to quantizing and extracting colors in images to assemble color palettes and the level of user control over palettes construction.

Getting started

Package details

AuthorMatthew Leonawicz [aut, cre] (<https://orcid.org/0000-0001-9452-2771>)
MaintainerMatthew Leonawicz <mfleonawicz@gmail.com>
LicenseMIT + file LICENSE
Version0.3.2
URL https://github.com/leonawicz/imgpalr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("imgpalr")

Try the imgpalr package in your browser

Any scripts or data that you put into this service are public.

imgpalr documentation built on Sept. 10, 2023, 9:06 a.m.