color 0.54
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1221
Imager::Color 0.54
Imager::Color is a Perl module with color handling for Imager. more>>
Imager::Color is a Perl module with color handling for Imager.
SYNOPSIS
$color = Imager::Color->new($red, $green, $blue);
$color = Imager::Color->new($red, $green, $blue, $alpha);
$color = Imager::Color->new("#C0C0FF"); # html color specification
$color->set($red, $green, $blue);
$color->set($red, $green, $blue, $alpha);
$color->set("#C0C0FF"); # html color specification
($red, $green, $blue, $alpha) = $color->rgba();
@hsv = $color->hsv(); # not implemented but proposed
$color->info();
if ($color->equals(other=>$other_color)) {
...
}
This module handles creating color objects used by imager. The idea is that in the future this module will be able to handle colorspace calculations as well.
new
This creates a color object to pass to functions that need a color argument.
set
This changes an already defined color. Note that this does not affect any places where the color has been used previously.
rgba
This returns the rgba code of the color the object contains.
info
Calling info merely dumps the relevant colorcode to the log.
equals(other=>$other_color)
equals(other=>$other_color, ignore_alpha=>1)
Compares $self and color $other_color returning true if the color components are the same.
Compares all four channels unless ignore_alpha is set. If ignore_alpha is set only the first three channels are compared.
You can specify colors in several different ways, you can just supply simple values:
simple numeric parameters - if you supply 3 or 4 numeric arguments, you get a color made up of those RGB (and possibly A) components.
a six hex digit web color, either RRGGBB or #RRGGBB
an eight hex digit web color, either RRGGBBAA or #RRGGBBAA.
a 3 hex digit web color, #RGB - a value of F becomes 255.
a color name, from whichever of the gimp Named_Colors file or X rgb.txt is found first. The same as using the name keyword.
You can supply named parameters:
red, green and blue, optionally shortened to r, g and b. The color components in the range 0 to 255.
# all of the following are equivalent
my $c1 = Imager::Color->new(red=>100, blue=>255, green=>0);
my $c2 = Imager::Color->new(r=>100, b=>255, g=>0);
my $c3 = Imager::Color->new(r=>100, blue=>255, g=>0);
hue, saturation and value, optionally shortened to h, s and v, to specify a HSV color. 0 new(hue=>120, value=>1, saturation=>0.5);
web, which can specify a 6 or 3 hex digit web color, in any of the forms #RRGGBB, #RGB, RRGGBB or RGB.
my $c1 = Imager::Color->new(web=>#FFC0C0); # pale red
gray or grey which specifies a single channel, from 0 to 255.
# exactly the same
my $c1 = Imager::Color->new(gray=>128);
my $c1 = Imager::Color->new(grey=>128);
rgb which takes a 3 member arrayref, containing each of the red, green and blue values.
# the same
my $c1 = Imager::Color->new(rgb=>[255, 100, 0]);
my $c1 = Imager::Color->new(r=>255, g=>100, b=>0);
hsv which takes a 3 member arrayref, containting each of hue, saturation and value.
# the same
my $c1 = Imager::Color->new(hsv=>[120, 0.5, 1]);
my $c1 = Imager::Color->new(hue=>120, v=>1, s=>0.5);
gimp which specifies a color from a GIMP palette file. You can specify the filename of the palette file with the palette parameter, or let Imager::Color look in various places, typically "$HOME/gimp-1.x/palettes/Named_Colors" with and without the version number, and in /usr/share/gimp/palettes/. The palette file must have color names.
my $c1 = Imager::Color->new(gimp=>snow);
my $c1 = Imager::Color->new(gimp=>snow, palette=>testimg/test_gimp_pal);
xname which specifies a color from an X11 rgb.txt file. You can specify the filename of the rgb.txt file with the palette parameter, or let Imager::Color look in various places, typically /usr/lib/X11/rgb.txt.
my $c1 = Imager::Color->new(xname=>blue) # usually RGB(0, 0, 255)
builtin which specifies a color from the built-in color table in Imager::Color::Table. The colors in this module are the same as the default X11 rgb.txt file.
my $c1 = Imager::Color->new(builtin=>black) # always RGB(0, 0, 0)
name which specifies a name from either a GIMP palette, an X rgb.txt file or the built-in color table, whichever is found first.
channel0, channel1, etc, each of which specifies a single channel. These can be abbreviated to c0, c1 etc.
channels which takes an arrayref of the channel values.
Optionally you can add an alpha channel to a color with the alpha or a parameter.
These color specifications can be used for both constructing new colors with the new() method and modifying existing colors with the set() method.
<<lessSYNOPSIS
$color = Imager::Color->new($red, $green, $blue);
$color = Imager::Color->new($red, $green, $blue, $alpha);
$color = Imager::Color->new("#C0C0FF"); # html color specification
$color->set($red, $green, $blue);
$color->set($red, $green, $blue, $alpha);
$color->set("#C0C0FF"); # html color specification
($red, $green, $blue, $alpha) = $color->rgba();
@hsv = $color->hsv(); # not implemented but proposed
$color->info();
if ($color->equals(other=>$other_color)) {
...
}
This module handles creating color objects used by imager. The idea is that in the future this module will be able to handle colorspace calculations as well.
new
This creates a color object to pass to functions that need a color argument.
set
This changes an already defined color. Note that this does not affect any places where the color has been used previously.
rgba
This returns the rgba code of the color the object contains.
info
Calling info merely dumps the relevant colorcode to the log.
equals(other=>$other_color)
equals(other=>$other_color, ignore_alpha=>1)
Compares $self and color $other_color returning true if the color components are the same.
Compares all four channels unless ignore_alpha is set. If ignore_alpha is set only the first three channels are compared.
You can specify colors in several different ways, you can just supply simple values:
simple numeric parameters - if you supply 3 or 4 numeric arguments, you get a color made up of those RGB (and possibly A) components.
a six hex digit web color, either RRGGBB or #RRGGBB
an eight hex digit web color, either RRGGBBAA or #RRGGBBAA.
a 3 hex digit web color, #RGB - a value of F becomes 255.
a color name, from whichever of the gimp Named_Colors file or X rgb.txt is found first. The same as using the name keyword.
You can supply named parameters:
red, green and blue, optionally shortened to r, g and b. The color components in the range 0 to 255.
# all of the following are equivalent
my $c1 = Imager::Color->new(red=>100, blue=>255, green=>0);
my $c2 = Imager::Color->new(r=>100, b=>255, g=>0);
my $c3 = Imager::Color->new(r=>100, blue=>255, g=>0);
hue, saturation and value, optionally shortened to h, s and v, to specify a HSV color. 0 new(hue=>120, value=>1, saturation=>0.5);
web, which can specify a 6 or 3 hex digit web color, in any of the forms #RRGGBB, #RGB, RRGGBB or RGB.
my $c1 = Imager::Color->new(web=>#FFC0C0); # pale red
gray or grey which specifies a single channel, from 0 to 255.
# exactly the same
my $c1 = Imager::Color->new(gray=>128);
my $c1 = Imager::Color->new(grey=>128);
rgb which takes a 3 member arrayref, containing each of the red, green and blue values.
# the same
my $c1 = Imager::Color->new(rgb=>[255, 100, 0]);
my $c1 = Imager::Color->new(r=>255, g=>100, b=>0);
hsv which takes a 3 member arrayref, containting each of hue, saturation and value.
# the same
my $c1 = Imager::Color->new(hsv=>[120, 0.5, 1]);
my $c1 = Imager::Color->new(hue=>120, v=>1, s=>0.5);
gimp which specifies a color from a GIMP palette file. You can specify the filename of the palette file with the palette parameter, or let Imager::Color look in various places, typically "$HOME/gimp-1.x/palettes/Named_Colors" with and without the version number, and in /usr/share/gimp/palettes/. The palette file must have color names.
my $c1 = Imager::Color->new(gimp=>snow);
my $c1 = Imager::Color->new(gimp=>snow, palette=>testimg/test_gimp_pal);
xname which specifies a color from an X11 rgb.txt file. You can specify the filename of the rgb.txt file with the palette parameter, or let Imager::Color look in various places, typically /usr/lib/X11/rgb.txt.
my $c1 = Imager::Color->new(xname=>blue) # usually RGB(0, 0, 255)
builtin which specifies a color from the built-in color table in Imager::Color::Table. The colors in this module are the same as the default X11 rgb.txt file.
my $c1 = Imager::Color->new(builtin=>black) # always RGB(0, 0, 0)
name which specifies a name from either a GIMP palette, an X rgb.txt file or the built-in color table, whichever is found first.
channel0, channel1, etc, each of which specifies a single channel. These can be abbreviated to c0, c1 etc.
channels which takes an arrayref of the channel values.
Optionally you can add an alpha channel to a color with the alpha or a parameter.
These color specifications can be used for both constructing new colors with the new() method and modifying existing colors with the set() method.
Download (0.83MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1092 downloads
gcolor2 0.4
gcolor2 is a simple GTK+2 color selector. more>>
gcolor2 is a simple color selector that was originally based on gcolor, ported to use GTK+2, and now has a completely new UI.
Enhancements:
- Improvements include usability / UI enhancements, and sortable columns.
<<lessEnhancements:
- Improvements include usability / UI enhancements, and sortable columns.
Download (0.36MB)
Added: 2005-08-05 License: GPL (GNU General Public License) Price:
1544 downloads
colorname 0.1
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 more>>
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 color definitions and linear algebra.
For this it calculates the euclidean distance between the currently selected color and all predefined colors, either in the RGB or HSV color space.
This project is licensed under the GPLv3.
Usage:
Standalone
Just start colorname.py
Gimp plugin
Once installed you can find colorname in the GIMP under: ”< Toolbox >/Xtns/Colorname”
<<lessFor this it calculates the euclidean distance between the currently selected color and all predefined colors, either in the RGB or HSV color space.
This project is licensed under the GPLv3.
Usage:
Standalone
Just start colorname.py
Gimp plugin
Once installed you can find colorname in the GIMP under: ”< Toolbox >/Xtns/Colorname”
Download (0.030MB)
Added: 2007-08-14 License: GPL v3 Price:
804 downloads
Color Label 0.3.5
Color Label is a service menu for KDE based on Color Folder 0.3.4 by HessiJames. more>>
Color Label is a service menu for KDE based on Color Folder 0.3.4 by HessiJames.
HowTo:
Extract all files and
copy colorlabel into /usr/bin/...
perhaps you need to make it executable chmod 755 /usr/bin/colorlabel
copy colorlabel.desktop to /home/~/.kde/share/apps/konqueror/servicemenus/colorlabel.desktop
<<lessHowTo:
Extract all files and
copy colorlabel into /usr/bin/...
perhaps you need to make it executable chmod 755 /usr/bin/colorlabel
copy colorlabel.desktop to /home/~/.kde/share/apps/konqueror/servicemenus/colorlabel.desktop
Download (0.003MB)
Added: 2007-08-07 License: GPL (GNU General Public License) Price:
505 downloads
YACY 0.54
YACY is a distributed Web crawler and also a caching HTTP/HTTPS proxy. more>>
YACY is a distributed Web crawler and also a caching HTTP/HTTPS proxy. Pages that pass through the proxy are indexed and can be searched using a built-in HTTP server.
YACY peers connect each other and form a P2P-based index exchange network based on distributed hash tables. Explicit web crawls can be done locally or collaboratively, forming a global search and distributed indexing engine for the Web.
YACY also provides URL filtering with blacklist sharing among other proxy peers, individual Web and servlet page hosting, a file sharing zone, and a database engine.
Main features:
- Search your own or the global index
- Crawl your own pages or start distributed crawling
- Run your peer to support other YaCy crawlers
- Provide Information on your peer using the built-in http-server, file-sharing zone and wiki
- Built-in caching http proxy
- Indexing benefits from the proxy cache; private information is not stored or indexed
- Usage of the proxy is not a requisite for web indexing, but it enables you to access the new top-level-domains .yacy
- Filter unwanted content like ad- or spyware; share your web-blacklist with other peers
- Easy installation! No additional database required!
- No central server!
- GPLed, freeware
Enhancements:
- An auto-updater and support for multiple search networks have been added, and the option to index intranet sites in separated networks has been enabled.
- Some interface functions have also been enhanced.
<<lessYACY peers connect each other and form a P2P-based index exchange network based on distributed hash tables. Explicit web crawls can be done locally or collaboratively, forming a global search and distributed indexing engine for the Web.
YACY also provides URL filtering with blacklist sharing among other proxy peers, individual Web and servlet page hosting, a file sharing zone, and a database engine.
Main features:
- Search your own or the global index
- Crawl your own pages or start distributed crawling
- Run your peer to support other YaCy crawlers
- Provide Information on your peer using the built-in http-server, file-sharing zone and wiki
- Built-in caching http proxy
- Indexing benefits from the proxy cache; private information is not stored or indexed
- Usage of the proxy is not a requisite for web indexing, but it enables you to access the new top-level-domains .yacy
- Filter unwanted content like ad- or spyware; share your web-blacklist with other peers
- Easy installation! No additional database required!
- No central server!
- GPLed, freeware
Enhancements:
- An auto-updater and support for multiple search networks have been added, and the option to index intranet sites in separated networks has been enabled.
- Some interface functions have also been enhanced.
Download (5.7MB)
Added: 2007-08-11 License: GPL (GNU General Public License) Price:
806 downloads
Color::Calc 1.04
Color::Calc provides a module which implements simple calculations with RGB colors. more>>
Color::Calc provides a module which implements simple calculations with RGB colors.
This can be used to create a full color scheme from a few colors.
There are three methods to use the calculation functions: You can create an object, import customised functions into your namespace, or you can access them as class methods.
The module accepts color values in the following formats:
- An arrayref pointing to an array with three elements in the range 0..255 corresponding to the red, green, and blue component.
- A list of three values in the range 0..255 corresponding to the red, green, and blue component where the first value does not have 3 or a multiple of 3 digits (e.g. (0128,128,128)).
- A string containing a hexadecimal RGB value like #RGB/#RRGGBB/#RRRGGGBBB/..., or RGB/RRGGBB/RRRGGGBBB/...
- A color name accepted by Graphics::ColorNames. The interpretation is controlled by the ColorScheme parameter.
- A Graphics::ColorObject reference.
<<lessThis can be used to create a full color scheme from a few colors.
There are three methods to use the calculation functions: You can create an object, import customised functions into your namespace, or you can access them as class methods.
The module accepts color values in the following formats:
- An arrayref pointing to an array with three elements in the range 0..255 corresponding to the red, green, and blue component.
- A list of three values in the range 0..255 corresponding to the red, green, and blue component where the first value does not have 3 or a multiple of 3 digits (e.g. (0128,128,128)).
- A string containing a hexadecimal RGB value like #RGB/#RRGGBB/#RRRGGGBBB/..., or RGB/RRGGBB/RRRGGGBBB/...
- A color name accepted by Graphics::ColorNames. The interpretation is controlled by the ColorScheme parameter.
- A Graphics::ColorObject reference.
Download (0.011MB)
Added: 2007-03-29 License: GPL (GNU General Public License) Price:
942 downloads
Color::Fade 0.01
Color::Fade provides a Perl extension for fading text colors. more>>
Color::Fade provides a Perl extension for fading text colors.
Color::Fade uses mathematical formulas to take an input string of virtually any length, and virtually any number of colors, and assign an individual color to each character to fade between each of the input colors.
In other words, it makes your sentences look really pretty.
Methods
Fade $string among the colors in @colors, where $string is a string of length greater than zero, and @colors is an array of colors in six byte hexadecimal format, with or without the leading octothorpe. @colors must have at least two elements.
When called in array context, the method returns an array in which each element is of the format:
y
For each character, where xxxxxx is a hexadecimal color code and y is one character from the original string.
When called in scalar context, this array is joined before being returned.
<<lessColor::Fade uses mathematical formulas to take an input string of virtually any length, and virtually any number of colors, and assign an individual color to each character to fade between each of the input colors.
In other words, it makes your sentences look really pretty.
Methods
Fade $string among the colors in @colors, where $string is a string of length greater than zero, and @colors is an array of colors in six byte hexadecimal format, with or without the leading octothorpe. @colors must have at least two elements.
When called in array context, the method returns an array in which each element is of the format:
y
For each character, where xxxxxx is a hexadecimal color code and y is one character from the original string.
When called in scalar context, this array is joined before being returned.
Download (0.006MB)
Added: 2007-03-29 License: Perl Artistic License Price:
939 downloads
Added: 2009-07-15 License: GPL Price: FREE
12 downloads
Rkdet 0.54
This program is a daemon intended to catch someone installing a rootkit or running a packet sniffer. more>>
This program is a daemon intended to catch someone installing a rootkit or running a packet sniffer. It is designed to run continually with a small footprint under an innocuous name. When triggered, it sends email, appends to a logfile, and disables networking or halts the system. it is designed to install with the minimum of disruption to a normal multiuser system, and should not require rebuilding with each kernel change or system upgrade.http://vancouver-webpages.com/rkdet/rkdet-0.54-2.i386.rpm
The program regularly verifies the checksum of a small number of system files that are typically modified by a rootkit. This list of files is compiled into the program. The file list, together with the system commands and messages, are obfuscated in the compiled code to prevent someone from figuring out what the program is for by eyeballing the binary.
The obfuscation algorithm is simple, but is compiled into the program and does not depend on external programs or other libraries.
The program takes a single optional numeric argument. If odd (bit 0 set), the interface "eth0" is checked for promiscuous operation (packet sniffing). If bit 1 is clear, the program will delete the default route on the network when triggered. Of bit 1 is set, the program will disable the eth0 interface. Systems with multiple interfaces may require an alternate interface specification in "xstrings.txt", or modification of the program to disable multiple interfaces. If bit 2 is set, the program will only log events and not disconnect the network.
The command may be modified to "init 1" or "shutdown -h now" if desired, or to run a script such as "panic.sh" (included).
Enhancements:
- Added configure script.
- Do not trap if checksum program fails (due to load, etc.)
<<lessThe program regularly verifies the checksum of a small number of system files that are typically modified by a rootkit. This list of files is compiled into the program. The file list, together with the system commands and messages, are obfuscated in the compiled code to prevent someone from figuring out what the program is for by eyeballing the binary.
The obfuscation algorithm is simple, but is compiled into the program and does not depend on external programs or other libraries.
The program takes a single optional numeric argument. If odd (bit 0 set), the interface "eth0" is checked for promiscuous operation (packet sniffing). If bit 1 is clear, the program will delete the default route on the network when triggered. Of bit 1 is set, the program will disable the eth0 interface. Systems with multiple interfaces may require an alternate interface specification in "xstrings.txt", or modification of the program to disable multiple interfaces. If bit 2 is set, the program will only log events and not disconnect the network.
The command may be modified to "init 1" or "shutdown -h now" if desired, or to run a script such as "panic.sh" (included).
Enhancements:
- Added configure script.
- Do not trap if checksum program fails (due to load, etc.)
Download (0.057MB)
Added: 2006-07-11 License: GPL (GNU General Public License) Price:
1201 downloads
color wrapper 1.0.14
color wrapper is a non-intrusive real-time ANSI color wrapper for Unix-based programs. more>>
color wrapper is a non-intrusive real-time ANSI color wrapper for common unix-based commands on GNU/linux. cw is designed to simulate the environment of the commands being executed, so that if a person types du, df, ping, etc. in their shell it will automatically color the output in real-time according to a definition file containing the color format desired.
color wrapper has support for wildcard match coloring, tokenized coloring, headers/footers, case scenario coloring, command line dependent definition coloring, and includes over 50 pre-made definition files.
cw works by having an augmented PATH environmental variable which has a path to the cw definition directory prepended to it, this is usually set as "export ATH=/usr/local/lib/cw:$PATH" (in bash). in this cw definition directory you will see file(s) under the very same name of the program they are designed to color. these files appear as the common executable binaries you may be used to using, but they are just text files that contain instructions for cw to use, including the path to the "real" binary.
Enhancements:
- Fixed bug that could crash cw, introduced in the previous version.
<<lesscolor wrapper has support for wildcard match coloring, tokenized coloring, headers/footers, case scenario coloring, command line dependent definition coloring, and includes over 50 pre-made definition files.
cw works by having an augmented PATH environmental variable which has a path to the cw definition directory prepended to it, this is usually set as "export ATH=/usr/local/lib/cw:$PATH" (in bash). in this cw definition directory you will see file(s) under the very same name of the program they are designed to color. these files appear as the common executable binaries you may be used to using, but they are just text files that contain instructions for cw to use, including the path to the "real" binary.
Enhancements:
- Fixed bug that could crash cw, introduced in the previous version.
Download (0.80MB)
Added: 2005-09-26 License: GPL (GNU General Public License) Price:
1488 downloads
nPulse 0.54
nPULSE is a Web-based network monitoring package for Unix-like operating systems. more>>
nPULSE is a Web-based network monitoring package for Unix-like operating systems. It can quickly monitor up to thousands of sites/devices at a time on multiple ports. nPULSE is written in Perl and comes with its own (SSL optional) Web server for extra security.
Instead of re-inventing existing code, nPulse uses many excellent OpenSource (GPL) products including
Nmap www.insecure.org/nmap [required]
Perl www.cpan.org [required]
OpenSSL www.openssl.com [optional]
Net::SSLeay and Mail::Mailer www.cpan.org [optional]
Java Telnet App www.mud.de/se/jta [included]
A modified version of miniserv.pl www.webmin.com [included]
<<lessInstead of re-inventing existing code, nPulse uses many excellent OpenSource (GPL) products including
Nmap www.insecure.org/nmap [required]
Perl www.cpan.org [required]
OpenSSL www.openssl.com [optional]
Net::SSLeay and Mail::Mailer www.cpan.org [optional]
Java Telnet App www.mud.de/se/jta [included]
A modified version of miniserv.pl www.webmin.com [included]
Download (0.38MB)
Added: 2006-06-28 License: GPL (GNU General Public License) Price:
1216 downloads
Lovi 0.2
Lovi is a log file viewer for the K Desktop Environment. more>>
Lovi is a log file viewer for the K Desktop Environment. Lovi supports monitoring multiple log files, with color-coded filtering of warning and error messages.
<<less Download (0.012MB)
Added: 2006-05-03 License: GPL (GNU General Public License) Price:
721 downloads
SDL::Color 2.1.3
SDL::Color is a SDL perl extension. more>>
SDL::Color is a SDL perl extension.
SYNOPSIS
$color = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );
$color = new SDL::Color -surface => $app, -pixel => $app->pixel($x,$y);
$color = new SDL::Color -color => SDL::NewColor(0xff,0xaa,0xdd);
SDL::Color is a wrapper for display format independent color representations, with the same interface as SDL::Color.
new ( -color => )
SDL::Color::new with a -color option will construct a new object referencing the passed SDL_Color*.
new (-r => , -g => , -b => )
SDL::Color::new with -r,-g,-b options will construct both a SDL_Color structure, and the associated object with the specified vales.
new (-pixel =>, -surface =>)
SDL::Color::new with -pixel,-surface options will generate a SDL_Color* with the r,g,b values associated with the integer value passed by -pixel for the given -surfaces format.
r ( [ red ] ), g( [ green ] ), b( [ blue ] )
SDL::Color::r, SDL::Color::g, SDL::Color::b are accessor methods for the red, green, and blue components respectively. The color value can be set by passing a byte value (0-255) to each function.
pixel ( surface )
SDL::Color::pixel takes a SDL::Surface object and r,g,b values, and returns the integer representation of the closest color for the given surface.
<<lessSYNOPSIS
$color = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );
$color = new SDL::Color -surface => $app, -pixel => $app->pixel($x,$y);
$color = new SDL::Color -color => SDL::NewColor(0xff,0xaa,0xdd);
SDL::Color is a wrapper for display format independent color representations, with the same interface as SDL::Color.
new ( -color => )
SDL::Color::new with a -color option will construct a new object referencing the passed SDL_Color*.
new (-r => , -g => , -b => )
SDL::Color::new with -r,-g,-b options will construct both a SDL_Color structure, and the associated object with the specified vales.
new (-pixel =>, -surface =>)
SDL::Color::new with -pixel,-surface options will generate a SDL_Color* with the r,g,b values associated with the integer value passed by -pixel for the given -surfaces format.
r ( [ red ] ), g( [ green ] ), b( [ blue ] )
SDL::Color::r, SDL::Color::g, SDL::Color::b are accessor methods for the red, green, and blue components respectively. The color value can be set by passing a byte value (0-255) to each function.
pixel ( surface )
SDL::Color::pixel takes a SDL::Surface object and r,g,b values, and returns the integer representation of the closest color for the given surface.
Download (0.21MB)
Added: 2007-08-09 License: Perl Artistic License Price:
806 downloads
Color::Object 0.1_02
Color::Object is a OO-Color Module. more>>
Color::Object is a OO-Color Module.
A module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules.
SYNOPSIS
use Color::Object;
$cl = Color::Object->new;
$cl = Color::Object->newRGB($r,$g,$b);
$cl = Color::Object->newHSV($h,$s,$v);
$cl = Color::Object->newHSL($h,$s,$l);
$cl->setRGB($r,$g,$b);
$cl->addBrightness($br);
($h,$s,$l) = $cl->asHSL;
METHODS
Color::Object->new
Color::Object->newRGB $r, $g, $b
Color::Object->newHSV $h, $s, $v
Color::Object->newHSL $h, $s, $l
Color::Object->newGrey $grey
( $r, $g, $b ) = $cl->asRGB
Returns $cls rgb values. Range [0 .. 1].
( $h, $s, $v ) = $cl->asHSV
Returns $cls hsv values. Ranges h [0 .. 360], s/v [0 .. 1].
( $h, $s, $l ) = $cl->asHSL
Returns $cls hsl values. Ranges h [0 .. 360], s/l [0 .. 1].
$grey = $cl->asGrey
$grey = $cl->asGrey2
Returns $cls grey value. Range [0 .. 1]. Functions 2 returns the geometric mean of the corresponding RGB values.
( $c, $m, $y )= $cl->asCMY
Returns $cls cmy values. Range [0 .. 1].
( $c, $m, $y, $k )= $cl->asCMYK
( $c, $m, $y, $k )= $cl->asCMYK2
( $c, $m, $y, $k )= $cl->asCMYK3
Returns $cls cmyk values. Range [0 .. 1]. Function 2 returns a 25% lighter color-equivalent. Function 3 returns a 25% lighter color-equivalent.
$hex = $cl->asHex
Returns $cls rgb values as 6 hex-digits.
$cl->setRGB $r, $g, $b
Sets the $cls rgb values. Valid range [0 .. 1].
$cl->setHSV $h, $s, $v
Sets the $cls hsv values. Valid ranges: h [0..360], s/v [0..1].
$cl->setHSL $h, $s, $l
Sets the $cls hsl values. Valid ranges: h [0..360], s/l [0..1].
$cl->setGrey $grey
Sets the $cls grey value. Valid range [0 .. 1].
$cl->setHex $hex
Sets the $cls rgb values using 6 hex-nibbles.
$cl->addSaturation $saturation
Adds to the $cls saturation in the HSV model. Valid range [-1 .. 1].
$cl->setSaturation $saturation
Sets the $cls saturation in the HSV model. Valid range [0 .. 1].
$cl->rotHue $degrees
Rotates the $cls hue in the HSV/L model. Valid range [-360 .. 360].
$cl->setHue $hue
Sets the $cls hue in the HSV/L model. Valid range [0 .. 360].
$cl->addBrightness $brightness
Adds to the $cls brightness in the HSV model. Valid range [-1 .. 1].
$cl->setBrightness $brightness
Sets the $cls brightness in the HSV model. Valid range [0 .. 1].
$cl->addLightness $lightness
Adds to the $cls lightness in the HSL model. Valid range [-1 .. 1].
$cl->setLightness $lightness
Sets the $cls lightness in the HSL model. Valid range [0 .. 1].
<<lessA module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules.
SYNOPSIS
use Color::Object;
$cl = Color::Object->new;
$cl = Color::Object->newRGB($r,$g,$b);
$cl = Color::Object->newHSV($h,$s,$v);
$cl = Color::Object->newHSL($h,$s,$l);
$cl->setRGB($r,$g,$b);
$cl->addBrightness($br);
($h,$s,$l) = $cl->asHSL;
METHODS
Color::Object->new
Color::Object->newRGB $r, $g, $b
Color::Object->newHSV $h, $s, $v
Color::Object->newHSL $h, $s, $l
Color::Object->newGrey $grey
( $r, $g, $b ) = $cl->asRGB
Returns $cls rgb values. Range [0 .. 1].
( $h, $s, $v ) = $cl->asHSV
Returns $cls hsv values. Ranges h [0 .. 360], s/v [0 .. 1].
( $h, $s, $l ) = $cl->asHSL
Returns $cls hsl values. Ranges h [0 .. 360], s/l [0 .. 1].
$grey = $cl->asGrey
$grey = $cl->asGrey2
Returns $cls grey value. Range [0 .. 1]. Functions 2 returns the geometric mean of the corresponding RGB values.
( $c, $m, $y )= $cl->asCMY
Returns $cls cmy values. Range [0 .. 1].
( $c, $m, $y, $k )= $cl->asCMYK
( $c, $m, $y, $k )= $cl->asCMYK2
( $c, $m, $y, $k )= $cl->asCMYK3
Returns $cls cmyk values. Range [0 .. 1]. Function 2 returns a 25% lighter color-equivalent. Function 3 returns a 25% lighter color-equivalent.
$hex = $cl->asHex
Returns $cls rgb values as 6 hex-digits.
$cl->setRGB $r, $g, $b
Sets the $cls rgb values. Valid range [0 .. 1].
$cl->setHSV $h, $s, $v
Sets the $cls hsv values. Valid ranges: h [0..360], s/v [0..1].
$cl->setHSL $h, $s, $l
Sets the $cls hsl values. Valid ranges: h [0..360], s/l [0..1].
$cl->setGrey $grey
Sets the $cls grey value. Valid range [0 .. 1].
$cl->setHex $hex
Sets the $cls rgb values using 6 hex-nibbles.
$cl->addSaturation $saturation
Adds to the $cls saturation in the HSV model. Valid range [-1 .. 1].
$cl->setSaturation $saturation
Sets the $cls saturation in the HSV model. Valid range [0 .. 1].
$cl->rotHue $degrees
Rotates the $cls hue in the HSV/L model. Valid range [-360 .. 360].
$cl->setHue $hue
Sets the $cls hue in the HSV/L model. Valid range [0 .. 360].
$cl->addBrightness $brightness
Adds to the $cls brightness in the HSV model. Valid range [-1 .. 1].
$cl->setBrightness $brightness
Sets the $cls brightness in the HSV model. Valid range [0 .. 1].
$cl->addLightness $lightness
Adds to the $cls lightness in the HSL model. Valid range [-1 .. 1].
$cl->setLightness $lightness
Sets the $cls lightness in the HSL model. Valid range [0 .. 1].
Download (0.003MB)
Added: 2007-07-31 License: Perl Artistic License Price:
815 downloads
JColorGrid 1.860
JColorGrid is a data visualization tool. more>>
JColorGrid is a data visualization tool. JColorGrid is a platform-independent Java application for transforming numerical or text data into color-grids.
A color-grid is a generalization of the popular heat map representation that displays information two-dimensionally with an associated color hue. Color-grid representations provide an excellent means of illustrating complex data sets and can be used to identify trends, clusters and extremes in a given data set.
JColorGrid has been designed for ease of use and general utility. Data is entered into JColorGrid from a spreadsheet file (.xls) or a tab-delimited text file. Titles, row and colomn headings, scale titles and data are specified in input file. JColorGrid will represent both numerical and text data. There is no limit on the number of columns and rows.
Configuring the output color-grid is done using the JColorGrid configuration menu. Display colors can be specified for the data range, as well as for data the requires special handling, called exceptions. Additionally, the gradiant of the color scale is specified in the configuration menu. JColorGrid has many flexible color options that users are encouraged to explore. JColorGrid will output to both JPEG and EPS allowing the user to further modify the color-grid output in a suitable graphics editor.
<<lessA color-grid is a generalization of the popular heat map representation that displays information two-dimensionally with an associated color hue. Color-grid representations provide an excellent means of illustrating complex data sets and can be used to identify trends, clusters and extremes in a given data set.
JColorGrid has been designed for ease of use and general utility. Data is entered into JColorGrid from a spreadsheet file (.xls) or a tab-delimited text file. Titles, row and colomn headings, scale titles and data are specified in input file. JColorGrid will represent both numerical and text data. There is no limit on the number of columns and rows.
Configuring the output color-grid is done using the JColorGrid configuration menu. Display colors can be specified for the data range, as well as for data the requires special handling, called exceptions. Additionally, the gradiant of the color scale is specified in the configuration menu. JColorGrid has many flexible color options that users are encouraged to explore. JColorGrid will output to both JPEG and EPS allowing the user to further modify the color-grid output in a suitable graphics editor.
Download (MB)
Added: 2006-06-20 License: GPL (GNU General Public License) Price:
1222 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above color 0.54 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
