Windows Ribbon for WinForms, Part 10 – Working With Images

Saturday, October 24, 2009

In this post we'll review the ribbon framework images terminology and see how to set images both statically and dynamically in your WinForms application. More details can be found at Specifying Ribbon Image Resources on MSDN. Large Images vs. Small Images Many ribbon controls allow you to specify an image. For example: Button, ComboBox, and Spinner. Most of these controls have two properties, one for a large image and one for small. The Ribbon framework will choose one of these sizes according to the available screen space...

How to convert an image to 32 bit BMP

Sunday, October 4, 2009

BMP image format can be saved in several different pixel format. Some programs and APIs requires their resources to be in 32bit BMP. Unfortunately, Microsoft Paint support saving only 24bit BMPs. Since this issue is raised a lot when dealing with Windows Ribbon Framework I’ve decided to solve it once and for all. I’ve written a small console application that converts images into 32bit BMPs. you can get convert2bmp.exe here, under “Other Available Downloads”. Using the program convert2bmp <source> <target> for example: convert2bmp my24bit.BMP my32bit.BMP What the program...