Author Topic: Image in normal window example.  (Read 1050 times)


  • Administrator
  • Member
  • ******
  • Posts: 6086
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Image in normal window example.
« on: October 30, 2016, 09:28:31 AM »
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.
hutch at movsd dot com    :biggrin:  :biggrin: