Image::WMF - Perl extension for creating Windows Metafile images on UNIX.
my $im = new Image::WMF(200,200);
my $red = $im->colorAllocate(255,0,0);
my $blue = $im->colorAllocate(0,0,255);
$im->string(gdSmallFont,20,20,"My first WMF!", $blue);
$wmfdata = $im->wmf;
open(OUT, ">test.wmf") or warn "Can't create WMF file: $!\n";
print OUT $wmfdata;
This module is designed to provide the same interface to creating Windows metafiles as that presented by the GD module (fore creating PNG images).
Consult the GD module for basic API documentation.
None by default.
Tony Cox, <firstname.lastname@example.org>
To install Image::WMF, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.