Documentation for the implementation of color encoding schemes. The Color::TupleEncode Perl module is available on CPAN).
example-3way - convert a single 3-tuple into a color
# report values, do not generate an image
example-3way [ -tuple a,b,c ]
[ -options=>{-saturation=>{-dmin=>0.5,dmax=>1.5}} ]
[ -verbose ]
Uses Color::TupleEncode to encode a 3-tuple into a color using the default Color::TupleEncode::Baran
encoding scheme.
-tuple a,b,c
Optionally, pass in the 3-tuple as a CSV list using -tuple
.
If this option is not used, a random tuple will be encoded.
-options HASH
Pass options to the encoder using a HASH
string that can be eval
ed to a hash reference. For example,
-options {-saturation=>{dmin=>0.5,dmax=>1.5}}
-verbose
Report the options used in the encoding.
Color::TupleEncode, Color::TupleEncode::Baran, Color::TupleEncode::2Way
Please report any bugs or feature requests to bug-color-tupleencode at rt.cpan.org
, or through
the web interface at rt.cpan.org I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
Martin Krzywinski, <martin.krzywinski at gmail.com>
(c) 2006-2017 Martin Krzywinski mkweb.bcgsc.ca