Main > Programming > Libraries >

Graphics::ColorUtils 0.17

Graphics::ColorUtils 0.17

Sponsored Links

Graphics::ColorUtils 0.17 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.021 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 845
Date added: 2007-07-03
Publisher: Philipp K. Janert

Graphics::ColorUtils 0.17 description

Graphics::ColorUtils Perl module is an easy-to-use color space conversions and more.

SYNOPSIS

use Graphics::ColorUtils;

( $y, $i, $q ) = rgb2yiq( $r, $g, $b );
( $r, $g, $b ) = yiq2rgb( $y, $i, $q );
$hex_string = yiq2rgb( $y, $i, $q );

( $c, $m, $y ) = rgb2cmy( $r, $g, $b );
( $r, $g, $b ) = cmy2rgb( $c, $m, $y );
$hex_string = cmy2rgb( $c, $m, $y );

( $h, $l, $s ) = rgb2hls( $r, $g, $b );
( $r, $g, $b ) = hls2rgb( $h, $l, $s );
$hex_string = hls2rgb( $h, $l, $s );

( $h, $s, $v ) = rgb2hsv( $r, $g, $b );
( $r, $g, $b ) = hsv2rgb( $h, $s, $v );
$hex_string = hsv2rgb( $h, $s, $v );

# -----

use Graphics::ColorUtils qw( :gradients );

( $r, $g, $b ) = grad2rgb( $name, $f ); # where 0.0 <= $f < 1.0
$hex_string = grad2rgb( $name, $f );

%color_count_for_gradient_name = available_gradients();
$array_ref_of_rgb_triples = gradient( $name );
$array_ref_old_grad = register_gradient( $name, $array_ref_of_rgb_triples );

# -----

use Graphics::ColorUtils qw( :names );

( $r, $g, $b ) = name2rgb( $name );
$hex_string = name2rgb( $name );

$hash_ref_rgb_triples_for_name = available_names();
( $old_r, $old_g, $old_b ) = register_name( $name, $r, $g, $b );
$old_hex_string = register_name( $name, $r, $g, $b );
$default_ns = get_default_namespace();
$old_ns = set_default_namespace( $new_ns );

This modules provides some utility functions to handle colors and color space conversions.

The interface has been kept simple, so that most functions can be called "inline" when making calls to graphics libraries such as GD, Tk, or when generating HTML/CSS. (E.g. for GD: $c = $img->colorAllocate( hsv2rgb( 270, 0.5, 0.3 ) );.)

Features:

Color Space Conversions
Color space conversions, in particular between the "intuitive" color spaces HSV (Hue/Saturation/Value) and HLS (Hue/Lightness/Saturation) to and from RGB (Red/Green/Blue).
Color Lookup
Color lookup by name for three standard sets of colors: WWW/CSS, SVG, and X11.
Color Gradients
Management of color gradients, which can be indexed by a floating point number in the range 0..1. (Mostly intended for false-color data visualization.)

Graphics::ColorUtils 0.17 Screenshot

Advertisements

Graphics::ColorUtils 0.17 Keywords

Bookmark Graphics::ColorUtils 0.17

Hyperlink code:
Link for forum:

Graphics::ColorUtils 0.17 Copyright

WareSeeker periodically updates pricing and software information of Graphics::ColorUtils 0.17 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Graphics::ColorUtils 0.17 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Graphics::ColorPicker is a Perl module for WYSIWYG web applications that allow selection of HEX color numbers. Free Download
Graphics::ColorObject can convert between color spaces. Free Download
PDL::Graphics::LUT is a Perl module that provides access to a number of look-up tables. Free Download
GD::Graph::Polar is a Perl module to make polar graph using GD package. Free Download
PDL::Graphics::AquaTerm is a Perl module that provides access to the AquaTerm Mac OS-X graphics terminal. Free Download
colorname is both a plugin for The Gimp as well as a standalone tool that tries to assign a name to a color, using external colo Free Download
Gtk::ColorSelectButton is a Perl module which lets you choose a color. Free Download
ColorExplorer is a tool for exploring the color space and finding out how colors, color names, and numerical color specification Free Download