Main > Free Download Search >

Free rrggbb software for linux

rrggbb

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 6
xtermcontrol 2.8

xtermcontrol 2.8


xtermcontrol enables dynamic control of XFree86 xterm properties. more>>
xtermcontrol enables dynamic control of XFree86 xterm properties. xtermcontrol project makes it easy to change colors, titles, fonts, and the geometry of a running xterm, as well as to report the current settings of the properties.
Window manipulations such as (de)iconify, raise and lower, maximize and restore, and reset are also supported. It also lets advanced users issue any xterm control sequence.
Options:
--fg=COLOR
Set foreground color to COLOR.
--bg=COLOR
Set background color to COLOR.
--colorN=COLOR
Set Nth [0-15] color to COLOR.
--highlight=COLOR
Set highlight color to COLOR.
--cursor=COLOR
Set cursor color to COLOR.
--mouse-fg=COLOR
Set mouse pointer foreground color to COLOR.
--mouse-fg=COLOR
Set mouse pointer background color to COLOR.
--font=FONT
Set font name to FONT. Alternatively it is possible to specify a fontmenu index as #[0-6] or navigate the fontmenu by relative sizes as #+N or #-N, where N is an optional integer.
--title=STRING
Set window title. Note that mechanisms like the Bash PROMPT_COMMAND may overwrite the title. Se also How to change the title of an xterm.
--geometry=WIDTHxHEIGHT+XOFF+YOFF
Set size and/or position. Through its control sequences the xterm only recognize positive XOFF and YOFF offsets, which are pixels relative to the upper left hand corner of the display. xtermcontrol is therefore unable to handle negative offsets as described in the X Geometry Specifications and therefore truncates negative values to zero.
--get-fg
Report foreground color.
--get-bg
Report background color.
--get-colorN
Report Nth [0-15] color.
--get-highlight
Report highlight color.
--get-cursor
Report cursor color.
--get-mouse-fg
Report mouse pointer foreground color.
--get-mouse-bg
Report mouse pointer background color.
--get-font
Report font.
--get-title
Report window title.
--get-geometry
Report size and position. The size of the text area is reported in characters and the position is reported in pixels relative to the upper left hand corner of the display.
--maximize
Maximize window.
--restore
Restore maximized window.
--iconify
Iconify window.
--de-iconify
De-iconify window.
--raise
Raise window.
--lower
Lower window.
--reset
Full reset.
--raw=CTLSEQS
Issue the raw control sequences CTLSEQS.
--file=FILE
Force xtermcontrol to read configurations from FILE instead of the standard personal initialization file ~/.xtermcontrol.
--force, -f
Skip TERM environment variable check.
--verbose, -v
Print verbose reports.
--help, -h
Print help and exit.
--version
Print the version number and exit.
Enhancements:
- src/configuration.c: Fix regexp, so the #rrggbb way to specify a color works in configuration file. Reported by Olle Mulmo.
- doc/xtermcontrol.roff: add BUGS section describing how install needs to setuid root on some broken systems.
<<less
Download (0.12MB)
Added: 2006-02-06 License: GPL (GNU General Public License) Price:
1356 downloads
HTML::BarGraph 0.5

HTML::BarGraph 0.5


HTML::BarGraph can generate multiset bar graphs using plain HTML. more>>
HTML::BarGraph can generate multiset bar graphs using plain HTML.

SYNOPSIS

use HTML::BarGraph;
print graph(
direction => h, ### or v or | / -
graphminsize => 250,
bartype => pixel, ### or html
barlength => 100,
barwidth => 10 ,
baraspect => .03,
color => blue,
colors => [ blue, red, lightblue ],
pixeldir => /images,
pixelfmt => PNG,
data => [
[ val11, val12, ... ],
[ val21, val22, ... ],
],
tags => [ one, two, ... ],
setspacer => 0,
highlighttag => [ tag1... ], ### or tag1 (one value)
# OR
highlightpos => [ 5, ...], ### or 5 (one value)
highlightcolor => red,
addalt => 1,
showaxistags => 1,
showvalues => 1,
valuesuffix => %,
valueprefix => => ,
bordertype => flat, ### or reised
bordercolor => #333333, ### or #RRGGBB
borderwidth => 1,
bgcolor => bisque, ### or #RRGGBB
textcolor => black, ### or #RRGGBB
title => title,
titlecolor => black, ### or #RRGGBB
titlealign => center, ### or left or right
fontface => sansserif,
ylabel => randoms,
ylabelalign => middle, ### or top or bottom
xlabel => index,
xlabelalign => center, ### or left or right
labeltextcolor => yellow,
labelbgcolor => black,
);

<<less
Download (0.012MB)
Added: 2006-07-31 License: Perl Artistic License Price:
1180 downloads
Color::Calc 1.04

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.
<<less
Download (0.011MB)
Added: 2007-03-29 License: GPL (GNU General Public License) Price:
942 downloads
Prima::Utils 1.20

Prima::Utils 1.20


Prima::Utils are miscellanneous routines. more>>
Prima::Utils are miscellanneous routines.

The module contains several helper routines, implemented in both C and perl. Whereas the C-coded parts are accessible only if use Prima; statement was issued prior to the use Prima::Utils invocation, the perl-coded are always available. This makes the module valuable when used without the rest of toolkit code.

API

alarm $TIMEOUT, $SUB, @PARAMS

Calls SUB with PARAMS after TIMEOUT milliseconds.

beep [ FLAGS = mb::Error ]

Invokes the system-depended sound and/or visual bell, corresponding to one of following constants:

mb::Error
mb::Warning
mb::Information
mb::Question

get_gui

Returns one of gui::XXX constants, reflecting the graphic user interface used in the system:
gui::Default
gui::PM
gui::Windows
gui::XLib
gui::OpenLook
gui::Motif

The meaning of the return value is somewhat vague, and might be deprecated in future releases.

get_os

Returns one of apc::XXX constants, reflecting the platfrom. Currently, the list of the supported platforms is:

apc::Os2
apc::Win32
apc::Unix

ceil DOUBLE

Obsolete function.

Returns stdlibs ceil() of DOUBLE

find_image PATH

Converts PATH from perl module notation into a file path, and searches for the file in @INC paths set. If a file is found, its full filename is returned; otherwise undef is returned.

floor DOUBLE

Obsolete function.

Returns stdlibs floor() of DOUBLE

getdir PATH

Reads content of PATH directory and returns array of string pairs, where the first item is a file name, and the second is a file type.

The file type is a string, one of the following:
"fifo" - named pipe
"chr" - character special file
"dir" - directory
"blk" - block special file
"reg" - regular file
"lnk" - symbolic link
"sock" - socket
"wht" - whiteout

This function was implemented for faster directory reading, to avoid successive call of stat for every file.

path [ FILE ]

If called with no parameters, returns path to a directory, usually ~/.prima, that can be used to contain the user settings of a toolkit module or a program. If FILE is specified, appends it to the path and returns the full file name. In the latter case the path is automatically created by File::Path::mkpath unless it already exists.

post $SUB, @PARAMS

Postpones a call to SUB with PARAMS until the next event loop tick.

query_drives_map [ FIRST_DRIVE = "A:" ]

Returns anonymous array to drive letters, used by the system. FIRST_DRIVE can be set to other value to start enumeration from. Some OSes can probe eventual diskette drives inside the drive enumeration routines, so there is a chance to increase responsiveness of the function it might be reasonable to set FIRST_DRIVE to C: string.

If the system supports no drive letters, empty array reference is returned ( unix ).

query_drive_type DRIVE

Returns one of dt::XXX constants, describing the type of drive, where DRIVE is a 1-character string. If there is no such drive, or the system supports no drive letters ( unix ), dt::None is returned.

dt::None
dt::Unknown
dt::Floppy
dt::HDD
dt::Network
dt::CDROM
dt::Memory

sound [ FREQUENCY = 2000, DURATION = 100 ]

Issues a tone of FREQUENCY in Hz with DURATION in milliseconds.

username

Returns the login name of the user. Sometimes is preferred to the perl-provided getlogin ( see "getlogin" in perlfunc ) .

xcolor COLOR

Accepts COLOR string on one of the three formats:

#rgb
#rrggbb
#rrrgggbbb

and returns 24-bit RGB integer value.

<<less
Download (1.4MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1155 downloads
Imager::Color 0.54

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.

<<less
Download (0.83MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1092 downloads
L2P 1.1

L2P 1.1


L2P creates PNG images from LaTeX math expressions. more>>
L2P creates PNG images of mathematical expressions formatted in LaTeX. While it can convert a whole LaTeX document, it is designed to easily generate images from just a fragment of LaTeX code.

Download l2p here, or read the documentation. L2P depends on other software: latex, dvips, and convert. The last one is from the ImageMagick graphics toolset.

If you already work with LaTeX on a modern Unix or Linux system, you probably already have all of that installed.

EXAMPLES:

* l2p -i $4x^2-7=cos{2 pi x}$ -o eqn4.png

Produce a PNG image, named eqn4.png, of the equation described by the LaTeX expression $4x^2 - 7 = cos{2 pi x}$.

* l2p -o big_equation.png big_hairy_equation

Produce a PNG image, called big_equation.png, from the LaTeX expression contained in the file big_hairy_equation (specifically, it contains $x=2$.) Note that this file is NOT a full LaTeX document - see the -F option for that.

* l2p -d 250 -i $
abla cdot mathbf{D} =
ho$

Produce a PNG image from the LaTeX code given with the -i argument (which happens to be one of Maxwells equations), at 250 dots per inch. Since we did not specify an output file name with the -o option, the image will be eqn.png (the default).

* l2p -p amssymb -i $mho$ -o mho.png

Produce a PNG image of the Mho symbol (an upside-down capital omega), saving the image in the file mho.png. We include the amssymb package, which defines that symbol.

OPTIONS:

-i "$latex$"
Argument is an equation/expression in (La)TeX format. In most cases, you will want to enclose the argument in quotes to protect it from shell expansion.

-b "rrggbb"
Background color. There are several ways to specify the color. See the section "COLORS", below, for details.

-d dpi
Pixel density at which the equation is rendered, in dots per inch (default 300).

An image with a DPI of 600 will have twice as many pixels in each of the x and y directions than an image with a DPI of 300. The effect is different in the normal context of printing, where a higher DPI will leave the text with the same physical size, but with a finer resolution. This is because the physical size of a pixel is not really variable; so to have double the resolution, a symbol in an image must be double the size.

-f "rrggbb"
Foreground color. There are several ways to specify the color. See the section "COLORS", below, for details.

-h Show a help summary.

-o output.png
Name of output file. Default is eqn.png

-p packagename[,packagename2[,...]]]
Use additional LaTeX/TeX packages. You can specify several, separated by commas.

-C Suppress automatic removal (cleanup) of temporary files. This will be useful if something goes wrong, or if you want to use the intermediate DVI or Postscript renditions. l2p will tell you which directory contains these files.

-F Supplied expression is a full LaTeX document, rather than just an expression fragment. Negates the -f, -b, -p and -T options.

Note: l2p currently only converts full LaTeX documents that are relatively simple: only one page in length, and with no external dependencies (such as included graphics). If you need to convert a more complex document, you can generate a DVI file with latex like normal, then convert the DVI into a series of PNG images using convert from the ImageMagick distribution. See convert(1), or < http://imagemagick.org/script/convert.php > for more information.

-T Create an image with a transparent background.

-V Show version information.

<<less
Download (0.007MB)
Added: 2007-05-11 License: Public Domain Price:
896 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1