colorimetry-cli

Crates.iocolorimetry-cli
lib.rscolorimetry-cli
version0.0.8
created_at2025-09-06 14:54:33.660233+00
updated_at2025-09-06 14:54:33.660233+00
descriptionA CLI for the colorimetry crate
homepage
repository
max_upload_size
id1827157
size49,115
(harbik)

documentation

README

Colorimetry Command Line Interface Tool

This colorimetry-cli crate provides the core functionality for the color command-line tool, enabling users to convert color data, create plots, analyze color spaces, and perform other color-related tasks directly from the terminal.

Installation

Ensure you have Rust and Cargo installed. You can install them using rustup.

To install colorimetry-cli, run:

cargo install colorimetry-cli

To verify your installation and see available commands and options, run:

color --help

Usage Example

To convert the spectral data in the sample1.csv file to CIELAB values, use the color subcommand:

color sample sample1.csv -m lab

The tool currently supports CSV files with wavelengths in the first column and spectral values in the second column.
Use the -m option to specify the target color model, such as xyz, srgb, or lab.

Note: In code, use colorimetry_cli as the crate name, since Rust replaces dashes with underscores.

Commit count: 0

cargo fmt