image 1.0
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5105
create Image 1.0
create Image is an amarok script that can create an image of the current playlist and save the files to an iso image. more>>
create Image is an amarok script that can create an image of the current playlist and save the files to an iso image.
The iso image is found in the respective home folders.
<<lessThe iso image is found in the respective home folders.
Download (0.010MB)
Added: 2007-01-11 License: GPL (GNU General Public License) Price:
1023 downloads
Random Image 1.0
This simple script searches a special directory for images, then displays a random one every time the page is loaded. more>>
This script is easy to set up. Simply use FTP to upload images in a special directory. They can be the same size or varying sizes. Then call the script from your SHTML web page using an "include. " Each load of the page will show a different image.
Requirements: Perl, Webserver
<<less Download (0.00KB)
Added: 2009-04-27 License: Commercial Price: $0.00
181 downloads
Image Tree 1.0
Image Tree is a complete and versatile photo publishing system in less than 200 lines of code. more>>
Image Tree is a complete and versatile photo publishing system in less than 200 lines of code.
ImgTree is based only on three files:
index php : contains all the php and html code. Must be put, unmodified in every folder of the directory tree.
data.php : contains the specific settings of every folder
style.css : the css style sheet
Every folder of the folder tree must contain the three files. Clearly index.php and style.php should be simply linked:
imgtree/
|-- data.php
|-- index.php
|-- style.css
|-- Section-A
| |-- data.php
| |-- index.php -> ../index.php
| |-- style.css -> ../style.css
| |-- 01-thumb.jpg
| |-- 01.jpg
| |-- 02-thumb.jpg
| |-- 02.jpg
| `-- ...
`-- Section-B
|-- data.php
|-- index.php -> ../index.php
|-- style.css -> ../style.css
|-- 00.jpg
|-- Subsection-B1
| |-- data.php
| |-- index.php -> ../index.php
| `-- style.css -> ../style.css
| |-- cover.jpg
`-- Subsection-B2
|-- data.php
|-- index.php -> ../index.php
|-- style.css -> ../style.css
|-- 01-thumb.jpg
|-- 01.jpg
|-- 02-thumb.jpg
|-- 02.jpg
`-- ...
Every folder act as a section and the behaviour can be choose between:
index : Contains a list of links to every subfolder of the current folder. For every section an image and a description are shown.
thumb : Thumbnails page. Shows every image file of the folder. Thumbnail must be named "xxx-thumb.jpg" for the xxx.jpg file. Ex: 01-thumb.jpg -> 01.jpg ; tramonto-thumb.jpg -> tramonto.jpg ; ecc.
cover : Cover page. Shows an image, a text and an associated link
The file data.php contin the settings specific for every section:
$gallerystart : is the gallery start to generate the back-menu. The path must be relative to the starting folder of the site
$name : name used to link the current section in the menus
$title : page title
$description: description, used as subtitle and for brief description in index pages
$indeximage : image used in index pages to link this section
$type : type of the page (cover|thumb|index)
$imgtitle : associtive array of the images descriptions. Used only by "thumb" pages
$coverimage : image used by "cover" pages
$covertext : text used by "cover" pages
$coverlink= : link used by "cover" pages
$covertitle : title used by "cover" pages
NEEDS a web server (Apache or similar) with PHP support
<<lessImgTree is based only on three files:
index php : contains all the php and html code. Must be put, unmodified in every folder of the directory tree.
data.php : contains the specific settings of every folder
style.css : the css style sheet
Every folder of the folder tree must contain the three files. Clearly index.php and style.php should be simply linked:
imgtree/
|-- data.php
|-- index.php
|-- style.css
|-- Section-A
| |-- data.php
| |-- index.php -> ../index.php
| |-- style.css -> ../style.css
| |-- 01-thumb.jpg
| |-- 01.jpg
| |-- 02-thumb.jpg
| |-- 02.jpg
| `-- ...
`-- Section-B
|-- data.php
|-- index.php -> ../index.php
|-- style.css -> ../style.css
|-- 00.jpg
|-- Subsection-B1
| |-- data.php
| |-- index.php -> ../index.php
| `-- style.css -> ../style.css
| |-- cover.jpg
`-- Subsection-B2
|-- data.php
|-- index.php -> ../index.php
|-- style.css -> ../style.css
|-- 01-thumb.jpg
|-- 01.jpg
|-- 02-thumb.jpg
|-- 02.jpg
`-- ...
Every folder act as a section and the behaviour can be choose between:
index : Contains a list of links to every subfolder of the current folder. For every section an image and a description are shown.
thumb : Thumbnails page. Shows every image file of the folder. Thumbnail must be named "xxx-thumb.jpg" for the xxx.jpg file. Ex: 01-thumb.jpg -> 01.jpg ; tramonto-thumb.jpg -> tramonto.jpg ; ecc.
cover : Cover page. Shows an image, a text and an associated link
The file data.php contin the settings specific for every section:
$gallerystart : is the gallery start to generate the back-menu. The path must be relative to the starting folder of the site
$name : name used to link the current section in the menus
$title : page title
$description: description, used as subtitle and for brief description in index pages
$indeximage : image used in index pages to link this section
$type : type of the page (cover|thumb|index)
$imgtitle : associtive array of the images descriptions. Used only by "thumb" pages
$coverimage : image used by "cover" pages
$covertext : text used by "cover" pages
$coverlink= : link used by "cover" pages
$covertitle : title used by "cover" pages
NEEDS a web server (Apache or similar) with PHP support
Download (0.033MB)
Added: 2006-09-11 License: GPL (GNU General Public License) Price:
1139 downloads
Image::Xpm 1.09
Image::Xpm is a Perl module that can load, create, manipulate and save xpm image files. more>>
Image::Xpm is a Perl module that can load, create, manipulate and save xpm image files.
SYNOPSIS
use Image::Xpm;
my $j = Image::Xpm->new(-file, Camel.xpm);
my $i = Image::Xpm->new(-width => 10, -height => 16);
my $h = $i->new; # Copy of $i
$i->xy(5, 8, red); # Set a colour (& add to palette if necessary)
print $i->xy(9, 3); # Get a colour
$i->xy(120, 130, #1256DD);
$i->xy(120, 130, $i->rgb2colour(66, 0x4D, 31));
$i->vec(24, #808080); # Set a colour using a vector offset
print $i->vec(24); # Get a colour using a vector offset
print $i->get(-width); # Get and set object attributes
$i->set(-height, 15);
$i->load(test.xpm);
$i->save;
# Changing just the palette
$i->add_colours(qw(red green blue #123456 #C0C0C0));
$i->del_colour(blue);
This class module provides basic load, manipulate and save functionality for the xpm file format. It inherits from Image::Base which provides additional manipulation functionality, e.g. new_from_image(). See the Image::Base pod for information on adding your own functionality to all the Image::Base derived classes.
new()
my $i = Image::Xpm->new(-file => test.xpm);
my $j = Image::Xpm->new(-width => 12, -height => 18);
my $k = $i->new;
We can create a new xpm image by reading in a file, or by creating an image from scratch (all the pixels are white by default), or by copying an image object that we created earlier.
If we set -file then all the other arguments are ignored (since theyre taken from the file). If we dont specify a file, -width and -height are mandatory and -cpp will default to 1 unless specified otherwise.
-file
The name of the file to read when creating the image. May contain a full path. This is also the default name used for loading and saveing, though it can be overridden when you load or save.
-width
The width of the image; taken from the file or set when the object is created; read-only.
-height
The height of the image; taken from the file or set when the object is created; read-only.
-cpp
Characters per pixel. Commonly 1 or 2, default is 1 for images created by the module; read-only.
See the example for how to change an images cpp.
-hotx
The x-coord of the images hotspot; taken from the file or set when the object is created. Set to -1 if there is no hotspot.
-hoty
The y-coord of the images hotspot; taken from the file or set when the object is created. Set to -1 if there is no hotspot.
-ncolours
The number of unique colours in the palette. The image may not be using all of them; read-only.
-cindex
An hash whose keys are colour names, e.g. #123456 or blue and whose values are the palette names, e.g. , #, etc; read-only. If you want to add more colours to the image itself simply write pixels with the new colours using xy; if you want to add more colours to the palette without necessarily using them in the image use add_colours.
-palette
A hash whose keys are the palette names, e.g. , #, etc. and whose values are hashes of colour type x colour name pairs, e.g. c => red, etc; read-only. If you want to add more colours to the image itself simply write pixels with the new colours using xy; if you want to add more colours to the palette without necessarily using them in the image use add_colours.
-pixels
A string of palette names which constitutes the data for the image itself; read-only.
-extname
The name of the extension text if any; commonly XPMEXT; read-only.
-extlines
The lines of text of any extensions; read-only.
-comments
An array (possibly empty) of comment lines that were in a file that was read in; they will be written out although we make no guarantee regarding their placement; read-only.
get()
my $width = $i->get(-width);
my ($hotx, $hoty) = $i->get(-hotx, -hoty);
Get any of the objects attributes. Multiple attributes may be requested in a single call.
See xy and vec to get/set colours of the image itself.
set()
$i->set(-hotx => 120, -hoty => 32);
Set any of the objects attributes. Multiple attributes may be set in a single call; some attributes are read-only.
See xy and vec to get/set colours of the image itself.
xy()
$i->xy(4, 11, #123454); # Set the colour at point 4,11
my $v = $i->xy(9, 17); # Get the colour at point 9,17
Get/set colours using x, y coordinates; coordinates start at 0. If the colour does not exist in the palette it will be added automatically.
When called to set the colour the value returned is characters used for that colour in the palette; when called to get the colour the value returned is the colour name, e.g. blue or #f0f0f0, etc, e.g.
$colour = xy($x, $y); # e.g. #123456
$cc = xy($x, $y, $colour); # e.g. !
We dont normally pick up the return value when setting the colour.
vec()
$i->vec(43, 0); # Unset the bit at offset 43
my $v = $i->vec(87); # Get the bit at offset 87
Get/set bits using vector offsets; offsets start at 0. The offset of a pixel is ((y * width * cpp) + (x * cpp)).
The sort of return value depends on whether we are reading (getting) or writing (setting) the colour - see xy for an explanation.
rgb2colour() and rgb2color()
$i->rgb2colour(0xff, 0x40, 0x80); # Returns #ff4080
Image::Xpm->rgb2colour(10, 20, 30); # Returns #0a141e
Convenience class or object methods which accept three integers and return a colour name string.
load()
$i->load;
$i->load(test.xpm);
Load the image whose name is given, or if none is given load the image whose name is in the -file attribute.
save()
$i->save;
$i->save(test.xpm);
Save the image using the name given, or if none is given save the image using the name in the -file attribute. The image is saved in xpm format.
add_colours() and add_colors()
$i->add_colours(qw(#C0C0DD red blue #123456));
These are for adding colours to the palette; you dont need to use them to set a pixels colour - use xy for that.
Add one or more colour names either as hex strings or as literal colour names. These are always added as type c colours; duplicates are ignored.
NB If you just want to set some pixels in colours that may not be in the palette, simply do so using xy since new colours are added automatically.
del_colour() and del_color()
$i->del_colour(green);
Delete a colour from the palette; returns undef if the colour isnt in the palette, false (0) if the colour is in the palette but also in the image, or true (1) if the colour has been deleted (i.e. it was in the palette but not in use in the image).
<<lessSYNOPSIS
use Image::Xpm;
my $j = Image::Xpm->new(-file, Camel.xpm);
my $i = Image::Xpm->new(-width => 10, -height => 16);
my $h = $i->new; # Copy of $i
$i->xy(5, 8, red); # Set a colour (& add to palette if necessary)
print $i->xy(9, 3); # Get a colour
$i->xy(120, 130, #1256DD);
$i->xy(120, 130, $i->rgb2colour(66, 0x4D, 31));
$i->vec(24, #808080); # Set a colour using a vector offset
print $i->vec(24); # Get a colour using a vector offset
print $i->get(-width); # Get and set object attributes
$i->set(-height, 15);
$i->load(test.xpm);
$i->save;
# Changing just the palette
$i->add_colours(qw(red green blue #123456 #C0C0C0));
$i->del_colour(blue);
This class module provides basic load, manipulate and save functionality for the xpm file format. It inherits from Image::Base which provides additional manipulation functionality, e.g. new_from_image(). See the Image::Base pod for information on adding your own functionality to all the Image::Base derived classes.
new()
my $i = Image::Xpm->new(-file => test.xpm);
my $j = Image::Xpm->new(-width => 12, -height => 18);
my $k = $i->new;
We can create a new xpm image by reading in a file, or by creating an image from scratch (all the pixels are white by default), or by copying an image object that we created earlier.
If we set -file then all the other arguments are ignored (since theyre taken from the file). If we dont specify a file, -width and -height are mandatory and -cpp will default to 1 unless specified otherwise.
-file
The name of the file to read when creating the image. May contain a full path. This is also the default name used for loading and saveing, though it can be overridden when you load or save.
-width
The width of the image; taken from the file or set when the object is created; read-only.
-height
The height of the image; taken from the file or set when the object is created; read-only.
-cpp
Characters per pixel. Commonly 1 or 2, default is 1 for images created by the module; read-only.
See the example for how to change an images cpp.
-hotx
The x-coord of the images hotspot; taken from the file or set when the object is created. Set to -1 if there is no hotspot.
-hoty
The y-coord of the images hotspot; taken from the file or set when the object is created. Set to -1 if there is no hotspot.
-ncolours
The number of unique colours in the palette. The image may not be using all of them; read-only.
-cindex
An hash whose keys are colour names, e.g. #123456 or blue and whose values are the palette names, e.g. , #, etc; read-only. If you want to add more colours to the image itself simply write pixels with the new colours using xy; if you want to add more colours to the palette without necessarily using them in the image use add_colours.
-palette
A hash whose keys are the palette names, e.g. , #, etc. and whose values are hashes of colour type x colour name pairs, e.g. c => red, etc; read-only. If you want to add more colours to the image itself simply write pixels with the new colours using xy; if you want to add more colours to the palette without necessarily using them in the image use add_colours.
-pixels
A string of palette names which constitutes the data for the image itself; read-only.
-extname
The name of the extension text if any; commonly XPMEXT; read-only.
-extlines
The lines of text of any extensions; read-only.
-comments
An array (possibly empty) of comment lines that were in a file that was read in; they will be written out although we make no guarantee regarding their placement; read-only.
get()
my $width = $i->get(-width);
my ($hotx, $hoty) = $i->get(-hotx, -hoty);
Get any of the objects attributes. Multiple attributes may be requested in a single call.
See xy and vec to get/set colours of the image itself.
set()
$i->set(-hotx => 120, -hoty => 32);
Set any of the objects attributes. Multiple attributes may be set in a single call; some attributes are read-only.
See xy and vec to get/set colours of the image itself.
xy()
$i->xy(4, 11, #123454); # Set the colour at point 4,11
my $v = $i->xy(9, 17); # Get the colour at point 9,17
Get/set colours using x, y coordinates; coordinates start at 0. If the colour does not exist in the palette it will be added automatically.
When called to set the colour the value returned is characters used for that colour in the palette; when called to get the colour the value returned is the colour name, e.g. blue or #f0f0f0, etc, e.g.
$colour = xy($x, $y); # e.g. #123456
$cc = xy($x, $y, $colour); # e.g. !
We dont normally pick up the return value when setting the colour.
vec()
$i->vec(43, 0); # Unset the bit at offset 43
my $v = $i->vec(87); # Get the bit at offset 87
Get/set bits using vector offsets; offsets start at 0. The offset of a pixel is ((y * width * cpp) + (x * cpp)).
The sort of return value depends on whether we are reading (getting) or writing (setting) the colour - see xy for an explanation.
rgb2colour() and rgb2color()
$i->rgb2colour(0xff, 0x40, 0x80); # Returns #ff4080
Image::Xpm->rgb2colour(10, 20, 30); # Returns #0a141e
Convenience class or object methods which accept three integers and return a colour name string.
load()
$i->load;
$i->load(test.xpm);
Load the image whose name is given, or if none is given load the image whose name is in the -file attribute.
save()
$i->save;
$i->save(test.xpm);
Save the image using the name given, or if none is given save the image using the name in the -file attribute. The image is saved in xpm format.
add_colours() and add_colors()
$i->add_colours(qw(#C0C0DD red blue #123456));
These are for adding colours to the palette; you dont need to use them to set a pixels colour - use xy for that.
Add one or more colour names either as hex strings or as literal colour names. These are always added as type c colours; duplicates are ignored.
NB If you just want to set some pixels in colours that may not be in the palette, simply do so using xy since new colours are added automatically.
del_colour() and del_color()
$i->del_colour(green);
Delete a colour from the palette; returns undef if the colour isnt in the palette, false (0) if the colour is in the palette but also in the image, or true (1) if the colour has been deleted (i.e. it was in the palette but not in use in the image).
Download (0.10MB)
Added: 2007-05-30 License: Perl Artistic License Price:
889 downloads
Image Resizer 1.0
Nautilus Plugin to resize selected images into two formats (500 & 800 px). more>>
Nautilus Plugin to resize selected images into two formats (500 & 800 px). Can also be used as a standalone script.
<<less Download (MB)
Added: 2006-05-22 License: GPL (GNU General Public License) Price:
1662 downloads
Image Magazine 1.0
Image Magazine provides a content type which acts both as a folder and as an image. more>>
Image Magazine provides a content type which acts both as a folder and as an image.
You populate it with 2 to 4 images, and optionnaly select a layout.
Options include width, background color, padding and margin, and layout mode.
ImageMag then merges the images into a layout while keeping the aspect ratios.
You can then use and call your ImageMag as a standard ploneImage, this mean you can :
.use instance/image_thumbnail, instance/image_large, and so on suffixes to call its different sizes
.call it directly from kupu to illustrate your articles (see readme.txt)
Works with:
- Plone 2.5.2
- Plone 2.5.1
- Plone 2.5
<<lessYou populate it with 2 to 4 images, and optionnaly select a layout.
Options include width, background color, padding and margin, and layout mode.
ImageMag then merges the images into a layout while keeping the aspect ratios.
You can then use and call your ImageMag as a standard ploneImage, this mean you can :
.use instance/image_thumbnail, instance/image_large, and so on suffixes to call its different sizes
.call it directly from kupu to illustrate your articles (see readme.txt)
Works with:
- Plone 2.5.2
- Plone 2.5.1
- Plone 2.5
Download (0.007MB)
Added: 2007-03-10 License: GPL (GNU General Public License) Price:
961 downloads
ImageConverter 1.0
ImageConverter is able to convert one image type (example:gif) to another type (example:jpeg). more>>
ImageConverter is able to convert one image type (example:gif) to another type (example:jpeg).
ImageConverter application uses ImageMagick to conver the images!
<<lessImageConverter application uses ImageMagick to conver the images!
Download (MB)
Added: 2006-04-17 License: GPL (GNU General Public License) Price:
1368 downloads
Image::BMP 1.13
Image::BMP is a bitmap parser/viewer. more>>
Image::BMP is a bitmap parser/viewer.
SYNOPSIS
use Image::BMP;
# Example one:
my $img = new Image::BMP(
file => some.bmp,
debug => 1,
);
$img->view_ascii;
# Example two:
my $img2 = new Image::BMP;
$img2->open_file(another.bmp);
my $color = $img2->xy(100,100); # Get pixel at 100,100
my ($r,$g,$b) = $img2->xy_rgb(100,200);
Image::BMP objects can parse and even ascii view bitmaps of the .BMP format. It can read most of the common forms of this format.
It can be used to:
Just get image info, dont read the whole image:
my $img = new Image::BMP(file => some.bmp);
print "Resolution: $img->{Width} x $img->{Height}n";
View images
(See C< SYNOPSIS > example one)
Read images and poke at pixels
(See C< SYNOPSIS > example two)
Parse through all pixel data
(See C< ADD_PIXEL > below)
It does not currently write bmap data, simply because I didnt have a use for that yet. Convince me and Ill add it.
Version restrictions:
4-bit RLE compression
- I havent seen an image like this yet, it wouldnt be hard to add.
bitfields compression
- I dont even know what that is..
RLE delta compression
- This isnt tested yet - I havent seen an image that uses this portion of RLE compression, so it currently does what I think is right and then prints a message asking you to send me the image/results.
<<lessSYNOPSIS
use Image::BMP;
# Example one:
my $img = new Image::BMP(
file => some.bmp,
debug => 1,
);
$img->view_ascii;
# Example two:
my $img2 = new Image::BMP;
$img2->open_file(another.bmp);
my $color = $img2->xy(100,100); # Get pixel at 100,100
my ($r,$g,$b) = $img2->xy_rgb(100,200);
Image::BMP objects can parse and even ascii view bitmaps of the .BMP format. It can read most of the common forms of this format.
It can be used to:
Just get image info, dont read the whole image:
my $img = new Image::BMP(file => some.bmp);
print "Resolution: $img->{Width} x $img->{Height}n";
View images
(See C< SYNOPSIS > example one)
Read images and poke at pixels
(See C< SYNOPSIS > example two)
Parse through all pixel data
(See C< ADD_PIXEL > below)
It does not currently write bmap data, simply because I didnt have a use for that yet. Convince me and Ill add it.
Version restrictions:
4-bit RLE compression
- I havent seen an image like this yet, it wouldnt be hard to add.
bitfields compression
- I dont even know what that is..
RLE delta compression
- This isnt tested yet - I havent seen an image that uses this portion of RLE compression, so it currently does what I think is right and then prints a message asking you to send me the image/results.
Download (0.010MB)
Added: 2007-07-20 License: Perl Artistic License Price:
828 downloads
Image::PBMlib 1.05
Image::PBMlib Perl module contains helper functions for PBM/PGM/PPM image file formats. more>>
Image::PBMlib Perl module contains helper functions for PBM/PGM/PPM image file formats.
SYNOPSIS
use Image::PBMlib;
... open(PPM, "< image.ppm")...
my $ref = readppmheader(*PPM);
my @pixels = readpixels_raw(*PPM, $$ref{type},
($$ref{width} * $$ref{height}) );
my @pixels = readpixels_dec(*PPM, $$ref{type},
($$ref{width} * $$ref{height}) );
my @rgb = hextriplettoraw("F00BA4");
my @rgb = dectriplettoraw("17:34:51");
my $header = makeppmheader($ref);
This is primarily a library for reading portable bitmap (PBM), portable graymap (PGM), and portable pixmap (PPM) files. These image formats are only the barest step up from raw data, and have a very simple format which is the key to be "portable". Writing out images in these formats is very easy.
Reading images in these formats is also easy, but not quite "very easy". Proper reading of the file needs to happen one byte at a time, since there is no fixed header length. Headers can also contain comments, which must be ignored. Then, once past the header, there are a total of six different ways that the data might need to be read: a raw and an ascii encoding of each image color level.
<<lessSYNOPSIS
use Image::PBMlib;
... open(PPM, "< image.ppm")...
my $ref = readppmheader(*PPM);
my @pixels = readpixels_raw(*PPM, $$ref{type},
($$ref{width} * $$ref{height}) );
my @pixels = readpixels_dec(*PPM, $$ref{type},
($$ref{width} * $$ref{height}) );
my @rgb = hextriplettoraw("F00BA4");
my @rgb = dectriplettoraw("17:34:51");
my $header = makeppmheader($ref);
This is primarily a library for reading portable bitmap (PBM), portable graymap (PGM), and portable pixmap (PPM) files. These image formats are only the barest step up from raw data, and have a very simple format which is the key to be "portable". Writing out images in these formats is very easy.
Reading images in these formats is also easy, but not quite "very easy". Proper reading of the file needs to happen one byte at a time, since there is no fixed header length. Headers can also contain comments, which must be ignored. Then, once past the header, there are a total of six different ways that the data might need to be read: a raw and an ascii encoding of each image color level.
Download (0.006MB)
Added: 2007-07-13 License: Perl Artistic License Price:
834 downloads
Image Download 1.0.2
Image Download allows you to download All the Picuture In the Page. more>>
Image Download allows you to download All the Picuture In the Page.
Filter by width ,height, type.
Auto Create Sub Folder ,auto rename
Auto log Download Infomation.
<<lessFilter by width ,height, type.
Auto Create Sub Folder ,auto rename
Auto log Download Infomation.
Download (0.009MB)
Added: 2007-04-05 License: MPL (Mozilla Public License) Price:
1000 downloads
Resize Image 1
Resize Image is a service menu which adds the ability to resize an image to a new size. more>>
Resize Image is a service menu which adds the ability to resize an image to a new size.
Requires ImageMagick, KDialog and bash.
<<lessRequires ImageMagick, KDialog and bash.
Download (MB)
Added: 2006-10-24 License: LGPL (GNU Lesser General Public License) Price:
1102 downloads
Image::Imlib2 1.13
Image::Imlib2 is a Perl interface to the Imlib2 image library. more>>
Image::Imlib2 is a Perl interface to the Imlib2 image library.
SYNOPSIS
use Image::Imlib2;
# create a new image
my $image = Image::Imlib2->new(200, 200);
# or load an image
$image = Image::Imlib2->load("foo.png");
# Enable the alpha channel support
$image->has_alpha(1);
# set a colour (rgba, so this is transparent orange)
$image->set_color(255, 127, 0, 127);
# draw a rectangle
$image->draw_rectangle(50, 50, 50, 50);
# draw a filled rectangle
$image->fill_rectangle(150, 50, 50, 50);
# draw a line
$image->draw_line(0, 0, 200, 50);
# set quality before saving
$image->set_quality(50);
# save out
$image->save(out.png);
# create a polygon
my $poly = Image::Imlib2::Polygon->new();
# add some points
$poly->add_point(0, 0);
$poly->add_point(100, 0);
$poly->add_point(100, 100);
$poly->add_point(0, 100);
# fill the polygon
$poly->fill();
# draw it closed on image
$image->draw_polygon($poly, 1);
# create a color range
my $cr = Image::Imlib2::ColorRange->new();
# add a color
my ($distance, $red, $green, $blue, $alpha) = (15, 200, 100, 50, 20);
$cr->add_color($distance, $red, $green, $blue, $alpha);
# draw it
my($x, $y, $width, $height, $angle) = (20, 30, 200, 200, 1);
$image->fill_color_range_rectangle($cr, $x, $y,
$width, $height, $angle);
Image::Imlib2 is a Perl port of Imlib2, a graphics library that does image file loading and saving as well as manipulation, arbitrary polygon support, etc. It does ALL of these operations FAST. It allows you to create colour images using a large number of graphics primitives, and output the images in a range of formats.
Image::Imlib2::Polygon and Image::Imlib2::ColorRange are described following Image::Imlib2 but may be referenced before their description.
Note that this is an early version of my attempt at a Perl interface to Imlib2. Currently, the API is just to test things out. Not everything is supported, but a great deal of functionality already exists. If you think the API can be tweaked to be a bit more intuitive, drop me a line!
Note that a development version of Imlib2 must be installed before installing this module.
<<lessSYNOPSIS
use Image::Imlib2;
# create a new image
my $image = Image::Imlib2->new(200, 200);
# or load an image
$image = Image::Imlib2->load("foo.png");
# Enable the alpha channel support
$image->has_alpha(1);
# set a colour (rgba, so this is transparent orange)
$image->set_color(255, 127, 0, 127);
# draw a rectangle
$image->draw_rectangle(50, 50, 50, 50);
# draw a filled rectangle
$image->fill_rectangle(150, 50, 50, 50);
# draw a line
$image->draw_line(0, 0, 200, 50);
# set quality before saving
$image->set_quality(50);
# save out
$image->save(out.png);
# create a polygon
my $poly = Image::Imlib2::Polygon->new();
# add some points
$poly->add_point(0, 0);
$poly->add_point(100, 0);
$poly->add_point(100, 100);
$poly->add_point(0, 100);
# fill the polygon
$poly->fill();
# draw it closed on image
$image->draw_polygon($poly, 1);
# create a color range
my $cr = Image::Imlib2::ColorRange->new();
# add a color
my ($distance, $red, $green, $blue, $alpha) = (15, 200, 100, 50, 20);
$cr->add_color($distance, $red, $green, $blue, $alpha);
# draw it
my($x, $y, $width, $height, $angle) = (20, 30, 200, 200, 1);
$image->fill_color_range_rectangle($cr, $x, $y,
$width, $height, $angle);
Image::Imlib2 is a Perl port of Imlib2, a graphics library that does image file loading and saving as well as manipulation, arbitrary polygon support, etc. It does ALL of these operations FAST. It allows you to create colour images using a large number of graphics primitives, and output the images in a range of formats.
Image::Imlib2::Polygon and Image::Imlib2::ColorRange are described following Image::Imlib2 but may be referenced before their description.
Note that this is an early version of my attempt at a Perl interface to Imlib2. Currently, the API is just to test things out. Not everything is supported, but a great deal of functionality already exists. If you think the API can be tweaked to be a bit more intuitive, drop me a line!
Note that a development version of Imlib2 must be installed before installing this module.
Download (0.026MB)
Added: 2007-08-14 License: Perl Artistic License Price:
805 downloads
Prima::image-load 1.20
Prima::image-load is a Perl module using image subsystem. more>>
Prima::image-load is a Perl module using image subsystem.
Simple loading
Simplest case, loading a single image would look like:
my $x = Prima::Image-> load( filename.duf);
die "$@" unless $x;
Image functions can work being either invoked from package, or from existing Prima::Image object, in latter case the caller object itself is changing. The code above could be also written as
my $x = Prima::Image-> create;
die "$@" unless $x-> load( filename.duf);
In both cases $x contains image data upon success. Error is returned into $@ variable ( see perldoc perlvar for more info).
<<lessSimple loading
Simplest case, loading a single image would look like:
my $x = Prima::Image-> load( filename.duf);
die "$@" unless $x;
Image functions can work being either invoked from package, or from existing Prima::Image object, in latter case the caller object itself is changing. The code above could be also written as
my $x = Prima::Image-> create;
die "$@" unless $x-> load( filename.duf);
In both cases $x contains image data upon success. Error is returned into $@ variable ( see perldoc perlvar for more info).
Download (1.4MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1093 downloads
Mozvert image 0.0.1
Mozvert image is a Firefox extension that uses convert from ImageMagick for saving images to its preferred formats. more>>
Mozvert image is a Firefox extension that uses convert from ImageMagick for saving images to its preferred formats.
It adds the entry "Convert Image As..." after "Save Image As..." with 8 predefined formats: PNG, JPG, GIF, XPM, TIFF, BMP, PS (PostScript), XBM, ICO.
<<lessIt adds the entry "Convert Image As..." after "Save Image As..." with 8 predefined formats: PNG, JPG, GIF, XPM, TIFF, BMP, PS (PostScript), XBM, ICO.
Download (0.022MB)
Added: 2007-06-28 License: MPL (Mozilla Public License) Price:
850 downloads
Tk::Image::Cut 0.07
Tk::Image::Cut is a Perl extension for a graphic user interface to cut pictures. more>>
Tk::Image::Cut is a Perl extension for a graphic user interface to cut pictures.
SYNOPSIS
use Tk::Image::Cut;
my $mw = MainWindow->new();
$mw->title("Picture-Cutter");
$mw->geometry("+5+5");
my $cut = $mw->Cut()->grid();
$mw->Button(
-text => "Exit",
-command => sub { exit(); },
)->grid();
for(qw/
ButtonSelectImage
LabelShape
bEntryShape
ButtonColor
LabelWidthOut
EntryWidthOut
LabelHeightOut
EntryHeightOut
ButtonIncrease
ButtonReduce
LabelNameOut
EntryNameOut
ButtonCut
/)
{
$cut->Subwidget($_)->configure(
-font => "{Times New Roman} 10 {bold}",
);
}
for(qw/
bEntryShape
EntryWidthOut
EntryHeightOut
EntryNameOut
Canvas
/)
{
$cut->Subwidget($_)->configure(
-background => "#FFFFFF",
);
}
for(qw/
bEntryShape
EntryWidthOut
EntryHeightOut
/)
{
$cut->Subwidget($_)->configure(
-width => 6,
);
}
$cut->Subwidget("EntryNameOut")->configure(
-width => 40,
);
$cut->Subwidget("Canvas")->configure(
-width => 1000,
-height => 800,
);
MainLoop();
Perl extension for a graphic user interface to cut pictures. The module is a mixed widget from Buttons, Labels, BrowseEntry, Entrys and Canvas widgets.
I hope the graphic user interface is simple enough to be understood without great declarations.
It can be used as an independent application or just like how any other widget. Try out the test.pl program.You can select between four cutting forms.
"rectangle", "oval", "circle" or "polygon"
In order to cut out pictures in circular form or ovally click with the left mouse button onto the upper left corner and hold the button pressed while the mouse is moved.
In order to cut pictures in polygon form you click with the left mouse button on the first point and draw the mouse to the next point. If you have drawn the last point you click with the right mouse button.
You can use all standard widget options.
<<lessSYNOPSIS
use Tk::Image::Cut;
my $mw = MainWindow->new();
$mw->title("Picture-Cutter");
$mw->geometry("+5+5");
my $cut = $mw->Cut()->grid();
$mw->Button(
-text => "Exit",
-command => sub { exit(); },
)->grid();
for(qw/
ButtonSelectImage
LabelShape
bEntryShape
ButtonColor
LabelWidthOut
EntryWidthOut
LabelHeightOut
EntryHeightOut
ButtonIncrease
ButtonReduce
LabelNameOut
EntryNameOut
ButtonCut
/)
{
$cut->Subwidget($_)->configure(
-font => "{Times New Roman} 10 {bold}",
);
}
for(qw/
bEntryShape
EntryWidthOut
EntryHeightOut
EntryNameOut
Canvas
/)
{
$cut->Subwidget($_)->configure(
-background => "#FFFFFF",
);
}
for(qw/
bEntryShape
EntryWidthOut
EntryHeightOut
/)
{
$cut->Subwidget($_)->configure(
-width => 6,
);
}
$cut->Subwidget("EntryNameOut")->configure(
-width => 40,
);
$cut->Subwidget("Canvas")->configure(
-width => 1000,
-height => 800,
);
MainLoop();
Perl extension for a graphic user interface to cut pictures. The module is a mixed widget from Buttons, Labels, BrowseEntry, Entrys and Canvas widgets.
I hope the graphic user interface is simple enough to be understood without great declarations.
It can be used as an independent application or just like how any other widget. Try out the test.pl program.You can select between four cutting forms.
"rectangle", "oval", "circle" or "polygon"
In order to cut out pictures in circular form or ovally click with the left mouse button onto the upper left corner and hold the button pressed while the mouse is moved.
In order to cut pictures in polygon form you click with the left mouse button on the first point and draw the mouse to the next point. If you have drawn the last point you click with the right mouse button.
You can use all standard widget options.
Download (0.030MB)
Added: 2006-07-28 License: Perl Artistic License Price:
1188 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 image 1.0 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