News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Image in normal window example.

Started by hutch--, October 30, 2016, 09:28:31 AM

Previous topic - Next topic

hutch--

The example has a 1024 pixel wide JPG image which fills the client area of the window. It is set in a static control with the SS_BITMAP style so you can use it as a background image that has other controls placed on top of it. I experimented with the JPG image with its compression ratio so that was just above the compression level that started to show pixelation and the image looks OK. The win with using the JPG image is a bitmap of this size is over 1.7 meg where the compressed JPG comes in at just under 60k. It can be compressed further but the quality starts to drop.