|
NAMEGraphics::Color::YUV - YUV color space VERSIONversion 0.31 SYNOPSIS use Graphics::Color::YUV;
my $color = Graphics::Color::YUV->new({
luma => .5,
blue_luminance => .5,
red_luminance => .25,
});
DESCRIPTIONGraphics::Color::YUV represents a Color in an Y'UV color space. ATTRIBUTESlumaySet/Get the luma (Y') component of this Color. Aliased to y. blue_luminanceuSet/Get the blue_luminance component of this Color. Aliased to u. red_luminancevSet/Get the red_luminance component of this Color. Aliased to v. METHODSnameGet the name of this color. Only valid if the color was created by name. as_stringGet a string version of this Color in the form of: LUMA,BLUE_LUMINENCE,RED_LUMINANCE as_arrayGet the YUV values as an array equal_toCompares this color to the provided one. Returns 1 if true, else 0; not_equal_toThe opposite of equal_to. AUTHORCory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2014 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.
|