Graphics::Color::YUV(3pm) User Contributed Perl Documentation Graphics::Color::YUV(3pm)NAME
Graphics::Color::YUV - YUV color space
VERSION
version 0.29
SYNOPSIS
use Graphics::Color::YUV;
my $color = Graphics::Color::YUV->new({
luma => .5,
blue_luminance => .5,
red_luminance => .25,
});
DESCRIPTION
Graphics::Color::YUV represents a Color in an Y'UV color space.
ATTRIBUTES
luma
y
Set/Get the luma (Y') component of this Color. Aliased to y.
blue_luminance
u
Set/Get the blue_luminance component of this Color. Aliased to u.
red_luminance
v
Set/Get the red_luminance component of this Color. Aliased to v.
METHODS
name
Get the name of this color. Only valid if the color was created by name.
as_string
Get a string version of this Color in the form of: LUMA,BLUE_LUMINENCE,RED_LUMINANCE
as_array
Get the YUV values as an array
equal_to
Compares this color to the provided one. Returns 1 if true, else 0;
not_equal_to
The opposite of equal_to.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-08-11 Graphics::Color::YUV(3pm)
Check Out this Related Man Page
Graphics::Color::HSV(3pm) User Contributed Perl Documentation Graphics::Color::HSV(3pm)NAME
Graphics::Color::HSV - HSV color space
VERSION
version 0.29
SYNOPSIS
use Graphics::Color::HSV;
my $color = Graphics::Color::HSV->new({
hue => 120,
saturation => .5,
value => .25,
});
DESCRIPTION
Graphics::Color::HSV represents a Color in an RGB color space. HSLV stands for Hue Saturation and Value. HSV is closely related to HSL.
ATTRIBUTES
hue
h
Set/Get the hue component of this Color.
saturation
s
Set/Get the saturation component of this Color.
value
v
Set/Get the value component of this Color.
alpha
Set/Get the alpha component of this Color.
name
Get the name of this color. Only valid if the color was created by name.
METHODS
as_string
Get a string version of this Color in the form of HUE,SATURATION,VALUE,ALPHA.
as_percent_string
Return a percent formatted value for this color. This format is suitable for CSS HSV values.
as_array
Get the HSV values as an array
as_array_with_alpha>
Get the HSVA values as an array
equal_to
Compares this color to the provided one. Returns 1 if true, else 0;
not_equal_to
The opposite of equal_to.
to_rgb
Creates this HSV color in RGB space. Returns a Graphics::Color::RGB object.
AUTHOR
Cory G Watson <gphat@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-08-25 Graphics::Color::HSV(3pm)
We work with Digital Workstations and some NT-Workstation which communicate by a reflection software (WRQ) with the UNIX-Server.
We changed our main application (GIS-System) to true-color. Since the change two of our users with the reflection software can't start the application anymore. One is... (5 Replies)
I've recently 'upgraded' my Mac Pro to Leopard and in the process have killed a major piece of cross platform software (IDL) that I use in my work. Apparently, Leopard has disabled 256 color compatibility, while simultaneously leaving the option as ghosted teaser on the displays panel of system... (1 Reply)
Hey everyone,
I have come across an issue to where I am trying to create a script which changes the text color with a simple if then statement. I have seen it done with Fedora 8 but when I try and create it using my MacBook Pro running Snow Leopard it doesn't work. Funny thing is, when I use... (2 Replies)
I have a file File1 containing lines like below
apple ${FRUIT}-Color
orange ${FRUIT}-Color
banana ${FRUIT}-Color
Now, in my shell I'm reading the file like below
while read FRUIT DESC; do echo $FRUIT $DESC; done < File1
which outputs -
apple ${FRUIT}-Color
orange ${FRUIT}-Color... (3 Replies)
Hi all,
Did a couple of Google searchs, a couple of searchs on the site here and didn't find an answer... But, maybe I'm not searching for the right phrases.
My question; what creates the full color menus on the command line in unix?
I'm looking for something that would replicate the... (3 Replies)
Hi Ravinder,
Could you (and anyone else who wants to help out) check this PHP code and confirm it does what I expect it to do, which is to color a badge based on the weeks a member is active in the latest sequence? I did a cut-paste-change from my "days in sequence" PHP prototype script and it... (6 Replies)