Graphi...r::YIQ(3pm)
π Graphics::Color::YIQ π
okay so bestie, welcome to Graphics::Color::YIQ β it's a Perl module from the User Contributed Perl Documentation collection, and it's literally just here to represent a Color in a YIQ color space. that's it. that's the vibe. π
VERSION β we're on version 0.31, no cap.
β¨ SYNOPSIS β¨
here's how you actually use this thing, copy-paste coded for your convenience:
use Graphics::Color::YIQ;
my $color = Graphics::Color::YIQ->new({
luminance => 0.5,
in_phase => .5,
quadrature => .25,
});
look at her. she's beautiful. π
πΈ DESCRIPTION πΈ
Graphics::Color::YIQ represents a Color in an YIQ color space. that's the whole assignment and she ate. π
π DISCLAIMER π
okay so this is the part where I have to be honest with you: I couldn't find clear information on the bounds of each value, so at the moment there are none. no guardrails, no limits, no vibe check. you're on your own out here fr fr. π
π ATTRIBUTES π
luminance
y
Set/Get the luminance component of this Color. (same thing as y, bestie β two names, one icon π«Ά)
in_phase
i
Set/Get the in_phase component of this Color. (also answers to i, iykyk)
quadrature
q
Set/Get the quadrature component of this Color. (and yeah, q works too)
name
Get the name of this color. β οΈ Only valid if the color was created by name. like, don't come for her if you made her a different way, she will not know. π
not_equal_to
The opposite of equal_to. that's it. that's the whole description. lowkey iconic for how little it says. π
π§ METHODS π§
as_string
Get a string version of this Color, and it comes out 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;
π¦ AUTHOR π¦
Cory G Watson <gphat@cpan.org> β thank you king, we appreciate you. π«Ά
π 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. slay, open source rights. β¨
and that's the whole page bestie, no notes, she's short and she knows it π
k byeeee β this was Graphi...r::YIQ(3pm) from perl v5.34.0, dated 2022-06-14. mwah. π
π¦ 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