This sample application demonstrates the effects of different PaletteMode settings on 256 color images. It also provides an introduction to the Picture object.
This sample is comprised of a single form for displaying images. In order to see the effects of the PaletteMode property, it is necessary to run this sample on a display set to 256 color mode. For more information, see "Working with Text and Graphics," in the Programmer's Guide.
File | Description |
Banner.gif | GIF image file. |
Clouds.bmp | Bitmap image file. |
Forest.jpg | JPG image file. |
Palettes.frm | Main form for application. |
Palettes.frx | Binary data file for the Palettes.frm file. |
Palettes.vbp | The Palettes project file. |
From the Visual Basic File menu, choose Open Project and select the Palettes.vbp file, which is listed in the Samples directory. Press F5 or choose Start from the Run menu to run the application.