Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.209.817 Times

Image::Imlib2 1.13

  Date Added: June 21, 2010  |  Visits: 1.116

Image::Imlib2

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Draw Image Libraries Programming
Users rating: 0/10

License: Freeware Size: 26.62 KB
USER REVIEWS
More Reviews or Write Review


IMAGE::IMLIB2 RELATED
Libraries  -  Python Imaging Library 1.1.5
The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities. The current free version is PIL 1.1.5,...
430.08 KB  
Libraries  -  Imlib2 1.2.0
Imlib 2 is the successor to Imlib. It is NOT a newer version -- it is a completely new library. Imlib 2 can be installed alongside Imlib 1.x without any problems since they are effectively different libraries which have very similar functionality..
890.88 KB  
Screen Capture Tools  -  piXflow - slideshow composer 0.9.9.1
piXflow browses your image libraries and previews them as thumbnails. It comes with a comfortable image viewer / player with optional full screen mode. Simple doubleclicks add / remove the best quality shots from your digital camera to your...
182.01 KB  
Libraries  -  Eyefi ImageModifier 0.4
Eyefi ImageModifier library is a high-level programming interface for describing and caching a series of image transformations which are applied to source images, typically for display on web pages. The work process is as follows: you define a...
20.48 KB  
Libraries  -  Image::WorldMap 0.14
Image::WorldMap is a Perl module to create graphical world maps of data. SYNOPSIS use Image::WorldMap; my $map = Image::WorldMap->new("earth-small.png", "maian/8"); $map->add(4.91, 52.35, "Amsterdam.pm"); $map->add(-2.355399, 51.3828,...
84.99 KB  
Libraries  -  Image::ExifTool::Location 0.0.1
Image::ExifTool::Location is a Perl module with easy setting, getting of an images location information. SYNOPSIS use Image::ExifTool; use Image::ExifTool::Location; my $exif = Image::ExifTool->new(); # Extract info from existing image...
12.29 KB  
Libraries  -  Image::ParseGIF 0.2
Image::ParseGIF can parse a GIF image into its compenent parts. SYNOPSIS use Image::ParseGIF; $gif = new Image::ParseGIF ("image.gif") or die "failed to parse: $@n"; # write out a deanimated version, showing only the first frame...
18.43 KB  
Libraries  -  Data::FormValidator::Filters::Image 0.30
Data::FormValidator::Filters::Image is a filter that allows you to shrink incoming image uploads using Data::FormValidator. SYNOPSIS use Data::FormValidator::Filters::Image qw( image_filter ); # Build a Data::FormValidator Profile: my...
19.46 KB  
Libraries  -  GD::Image::Thumbnail 0.02
GD::Image::Thumbnail is a Perl extension for creating thumbnailed images with GD. SYNOPSIS use GD::Image::Thumbnail; my $img = GD::Image->new(100,20); my $thm = $img->thumbnail; # same as { factor => 0.20 } my $thm = $img->thumbnail($n);...
3.07 KB  
Libraries  -  GD::Image::AnimatedGif 0.05
GD::Image::AnimatedGif is a Perl extension for creating animated gifs with GD. SYNOPSIS use GD::Image::AnimatedGif; # setup the image my $image = GD::Image->new(42,21); my $white = $image->colorAllocate(255,255,255);...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB