Image::Base::GDDraw PNG format images | |
Download |
Image::Base::GD Ranking & Summary
Advertisement
- License:
- Other/Proprietary Li...
- Publisher Name:
- Kevin Ryde
- Publisher web site:
- http://search.cpan.org/~kryde/
Image::Base::GD Tags
Image::Base::GD Description
Draw PNG format images Image::Base::GD is a Perl module that extends Image::Base to create or update PNG format image files using the GD module and library (version 2 or higher).Colour names for drawing are taken from the GD::Simple color_table(), plus hex "#RRGGBB" or "#RRRRGGGGBBBB". Special colour "None" means transparent. Colours are allocated when first used. 4-digit "#RRRRGGGGBBBB" forms are truncated to the high 2 digits since GD works in 8-bit components.SYNOPSIS use Image::Base::GD; my $image = Image::Base::GD->new (-width => 100, -height => 100); $image->rectangle (0,0, 99,99, 'white'); $image->xy (20,20, 'black'); $image->line (50,50, 70,70, '#FF00FF'); $image->line (50,50, 70,70, '#0000AAAA9999'); $image->save ('/some/filename.png'); Requirements: · Perl
Image::Base::GD Related Software