Graphics::Color::YIQ(3pm)

Graphics::Color::YIQ3pm

Yiq color space

Usage

    use Graphics::Color::YIQ;
    my $color = Graphics::Color::YIQ->new({
        luminance   => 0.5,
        in_phase    => .5,
        quadrature  => .25,
    });

Version

version 0.31

Overview

Graphics::Color::YIQ represents a Color in an YIQ color space.

Disclaimer

I couldn't find clear information on the bounds of each value, so at the moment there are none.

Attributes

luminance

y

Set/Get the luminance component of this Color.

in_phase

i

Set/Get the in_phase component of this Color.

quadrature

q

Set/Get the quadrature component of this Color.

name

Get the name of this color. Only valid if the color was created by name.

not_equal_to

The opposite of equal_to.

Methods

as_string

Get a string version of this Color in the form of LUMINANCE,IN-PHASE,QUADRATURE

as_array

Get the YIQ values as an array

equal_to

Compares this color to the provided one. Returns 1 if true, else 0;

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7–8
  3. 9–10
  4. 11
  5. 12–13

Author

Cory G Watson <[email protected]>

From libgraphics-color-perl 0.31-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.