Documentation for the implementation of color encoding schemes. The Color::TupleEncode Perl module is available on CPAN).
example-2way - convert a single 3-tuple into a color using a different implementation
# report values, do not generate an image
example-2way [ -tuple a,b,c ]
[ -options {saturation=>{-power=>1,min=>0.1,max=>1}} ]
[ -verbose ]
Uses Color::TupleEncode to encode a 3-tuple into a color using the Color::TupleEncode::2Way
encoding scheme.
-tuple a,b
Optionally, pass in the 2-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=>{-power=>1,min=>0.1,max=>1}}
-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