NAME

Imager::Image::Xpm - load XPM files into Imager objects

SYNOPSIS

$imager_object = Imager::Image::Xpm->new(file => $xpm_filename);

DESCRIPTION

Load a XPM file into an Imager object using Image::Xpm.

The "none" pseudo color will be converted into transparent pixels.

EXAMPLE

Convert an XPM file to a PNG file:

use Imager::Image::Xpm;
Imager::Image::Xpm->new(file => $xpm_file)->write(file => $png_file, type => 'png');

AUTHOR

Slaven Rezic

SEE ALSO

Image::Xpm, Imager, Imager::Image::Base.