Graphi...r::YUV(3pm)
π NAME π
okay bestie, so Graphics::Color::YUV is a whole module that does one thing and does it cute: it's the YUV color space β¨. That's it. That's the vibe. It's the Perl module living its main character life inside the User Contributed Perl Documentation, and honestly? iconic.
π VERSION π
we are on version 0.31, no cap π
β¨ SYNOPSIS β¨
here's how you actually use it, bestie, copy-paste away:
use Graphics::Color::YUV;
my $color = Graphics::Color::YUV->new({
luma => .5,
blue_luminance => .5,
red_luminance => .25,
});
look at her go π
π¦ DESCRIPTION π¦
so basically, Graphics::Color::YUV represents a Color in an Y'UV color space. that's the whole assignment and she ate, fr fr π«Ά
πΈ ATTRIBUTES πΈ
π luma / y
Set/Get the luma (Y') component of this Color. It's aliased to y β same thing, two doors, one room π«
π blue_luminance / u
Set/Get the blue_luminance component of this Color. Aliased to u. yes queen, they're the same attribute π
π red_luminance / v
Set/Get the red_luminance component of this Color. Aliased to v. twin flames, truly π
β METHODS β
π name
Get the name of this color. Only valid if the color was created by name. like, if you didn't make her by name, don't ask her for one, that's so awkward π
π as_string
Get a string version of this Color, and it comes out looking exactly like:
LUMA,BLUE_LUMINENCE,RED_LUMINANCE
(and yes, that's the real spelling in the format β BLUE_LUMINENCE β we don't make the rules, we just report them π)
π as_array
Get the YUV values as an array π
π equal_to
Compares this color to the provided one. Returns 1 if true, else 0. simple as that.
π not_equal_to
The opposite of equal_to. the hater of equal_to. the anti-equal_to, if you will π
π AUTHOR π
Cory G Watson <gphat@cpan.org> β thank you for your service, king π«‘
π COPYRIGHT AND LICENSE π
This 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. so like, go off, remix it, it's giving generous π
π cute little sign-off time: this page was generated byperl v5.34.0on2022-06-14, and it documentsGraphi...r::YUV(3pm)in the User Contributed Perl Documentation. stay hydrated, read your man pages, and remember β YUV is just a color space, bestie, you've got this πβ¨π
π¦ where this page comes from
- debian bookworm: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraphics-color-perl 0.31-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms