Learn R Programming

paletter (version 0.0.0.9000)

create_palette: make a palette from your image

Description

processes a custom jpeg image producing a palett with a user-defined number of colours

Usage

create_palette(image_path = NA, number_of_colors = 20)

Arguments

image_path

relative path to the custom image, including .jpeg extension

number_of_colors

number of different colors desired for the resulting palette

Examples

Run this code
# NOT RUN {
create_palette("data/nascita_venere.jpg",number_of_colors = 20)
# }

Run the code above in your browser using DataLab