Back to the Packages
Constructor
new Win32::GUI::Bitmap(FILENAME, [TYPE, X, Y, FLAGS])
Methods
Create(WIDTH, HEIGHT, PLANES, BPP, DATA)
GetDIBits()
Info()
Creates a new Bitmap object reading from FILENAME; all other arguments are optional. TYPE can be:
0 bitmap (this is the default) 1 icon 2 cursor
You can eventually specify your desired size for the image with X and Y and pass some FLAGS to the underlying LoadImage API (at your own risk)
[TBD]
GetDIBits() [TBD] Info() returns a four elements array containing the following information about the bitmap: width, height, color planes, bits per pixel or undef on errors
Info() returns a four elements array containing the following information about the bitmap: width, height, color planes, bits per pixel or undef on errors
returns a four elements array containing the following information about the bitmap: width, height, color planes, bits per pixel or undef on errors
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 47) unless the first thing after the =over is an =item
You can't have =items (as at line 69) unless the first thing after the =over is an =item
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.