Lego-From-PNG
view release on metacpan or search on metacpan
Returns : returns a positive integer score
Argument : $c1 - array ref with rgb color values in that order
$c2 - array ref with rgb color values in that order
Throws :
Comment :
See Also :
_find_lego_color
Usage : ->_find_lego_color
Purpose : given an rgb params, finds the optimal lego color
Returns : A lego color common name key that can then reference lego color information using L<Lego::From::PNG::lego_colors>
Argument : $r - the red value of a color
$g - the green value of a color
$b - the blue value of a color
Throws :
Comment : this subroutine is memoized as the name _find_lego_color_fast
See Also :
_approximate_lego_colors
Usage : ->_approximate_lego_colors()
Purpose : Generate a list of lego colors based on a list of blocks ( array of hashes containing rgb values )
Returns : A list of lego color common name keys that can then reference lego color information using L<Lego::From::PNG::lego_colors>
Argument :
Throws :
Comment :
See Also :
_generate_brick_list
Usage : ->_approximate_lego_colors()
Purpose : Generate a list of lego colors based on a list of blocks ( array of hashes containing rgb values )
Returns : A list of lego color common name keys that can then reference lego color information using L<Lego::From::PNG::lego_colors>
Argument :
Throws :
Comment :
See Also :
_list_filters
Usage : ->_list_filters()
Purpose : return whitelist/blacklist filters
Returns : an hashref of filters
Argument : an optional filter restriction to limit set of filters returned to just one
Throws :
Comment :
See Also :
BUGS
SUPPORT
AUTHOR
Travis Chase
CPAN ID: GAUDEON
gaudeon@cpan.org
https://github.com/gaudeon/Lego-From-Png
COPYRIGHT
This program is free software licensed under the...
The MIT License
The full text of the license can be found in the LICENSE file included
with this module.
SEE ALSO
perl(1).
( run in 1.551 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )