Hi,

Attached is a test program, to help figure out some of the capabilities
of Win32::GUI with regard to bitmapped graphics.  I've had some basic
success, but a failure I can't live with has cropped up:

Success-- either a Label or a Button allows a BMP file to be loaded into
it, via Win32::GUI::Bitmap.  The attached code does this (you'll need a
bitmap file; mine is monochrome, B&W, 1 bpp, stored in .tif format)

Failure-- Seems like ImageMagick "accidentally" inverts the color when
converting from .tif to .bmp ... and that ImageMagick's Negate operation
doesn't have any effect on .bmp files !!!

Failure-- there seems to be no way to control the colors: white turns
out grey.  Lots of -foreground and -background options don't seem to
help.

Advice welcome.

--
Glenn
=====
Due to the current economic situation, the light at the
end of the tunnel will be turned off until further notice.

Attachment: temp.pl
Description: Perl program

Reply via email to