Image::Pbm is a Perl module that provides basic load, manipulate and save functionality for the pbm file format. It inherits from Image::Xbm which provides additional functionality.
SYNOPSIS
use Image::Pbm();
my $i = Image::Pbm- >new(-width = > 50, -height = > 25 );
$i- >line ( 2, 2, 22, 22 = > 1 );
$i- >rectangle( 4, 4, 40, 20 = > 1 );
$i- >ellipse ( 6, 6, 30, 15 = > 1 );
$i- >xybit ( 42, 22 => 1 );
print $i- >as_string;
$i- >save('test.pbm');
$i = Image::Pbm- >new(-file,'test.pbm');
Product's homepage
Requirements:
· Perl