Color space conversions and named lookups

Edit Package perl-Convert-Color
http://search.cpan.org/dist/Convert-Color/

This module provides conversions between commonly used ways to express
colors. It provides conversions between color spaces such as RGB and HSV,
and it provides ways to look up colors by a name.

This class provides a base for subclasses which represent particular color
values in particular spaces. The base class provides methods to represent
the color in a few convenient forms, though subclasses may provide more
specific details for the space in question.

For more detail, read the documentation on these classes; namely:

* the Convert::Color::RGB manpage - red/green/blue as floats between
0 and 1

* the Convert::Color::RGB8 manpage - red/green/blue as 8-bit integers

* the Convert::Color::RGB16 manpage - red/green/blue as 16-bit integers

* the Convert::Color::HSV manpage - hue/saturation/value

* the Convert::Color::HSL manpage - hue/saturation/lightness

* the Convert::Color::CMY manpage - cyan/magenta/yellow

* the Convert::Color::CMYK manpage - cyan/magenta/yellow/key (blackness)

The following classes are subclasses of one of the above, which provide a
way to access predefined colors by names:

* the Convert::Color::VGA manpage - named lookup for the basic VGA colors

* the Convert::Color::X11 manpage - named lookup of colors from X11's
_rgb.txt_

Refresh
Refresh
Source Files
Filename Size Changed
Convert-Color-0.17.tar.gz 0000035728 34.9 KB
cpanspec.yml 0000000923 923 Bytes
perl-Convert-Color.changes 0000003537 3.45 KB
perl-Convert-Color.spec 0000003011 2.94 KB
Latest Revision
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) accepted request 1084359 from Tina Müller's avatar Tina Müller (tinita) (revision 9)
- updated to 0.17
   see /usr/share/doc/packages/perl-Convert-Color/Changes
  0.17    2023-04-21
          [BUGFIXES]
           * Call `plan()` to skip tests in t/31x11.t if no rgb.txt is found
             (RT147340)
  0.16    2023-03-22
          [BUGFIXES]
           * Convert remaining tests to `float()` comparisons that were missed
             in version 0.15 (RT145121)
  0.15    2023-03-22
          [CHANGES]
           * Swap all unit tests from `Test::More` to `Test2::V0`
           * Use Test2's `float()` comparisons instead of `Test::Number::Delta`
          [BUGFIXES]
           * Remember to use approximate-equality tests for float comparisons
             (RT145121)
Comments 0
openSUSE Build Service is sponsored by