Win32::GUI::Bitmap - Create bitmap resources
Common methods apply to most windows, controls and resources.
new(FILENAME, [TYPE, X, Y, FLAGS])
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)
If FILENAME is a string, then it is first tried as a resource name, then a filename. If FILENAME is a number it is tried as a resource identifier.
Resources are searched for in the current exe (perl.exe unless you have packed your application using perl2exe, PAR or similar), then in the Win32::GUI GUI.dll, and finally as an OEM resource identifier
See also the common options.
Create(WIDTH, HEIGHT, PLANES, BPP, DATA)
The GetDIBits function retrieves the bits of the specified bitmap and copies them into a buffer using the specified format.
returns a four elements array containing the following information about the bitmap: width, height, color planes, bits per pixel or undef on errors
Common events apply to most windows and controls.
Documentation for Win32::GUI v1.12 created 03 Jun 2015
This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.
For further support join the users mailing list from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/.
Copyright (c) 1997..2015 Aldo Calpini. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.