microGUI.Drawing.DirectImageType
Classes
Provides a collection of direct image types for use by a Galaxie microGUI application. |
Module Contents
- class microGUI.Drawing.DirectImageType.eDirectImageType(*args, **kwds)
Bases:
enum.FlagProvides a collection of direct image types for use by a Galaxie microGUI application.
See also
microGUI.Widget.Label.Label.TextAlignmicroGUI.Drawing.BitmapImageType.BitmapImageTypemicroGUI.Drawing.BitmapImageType.GradientImageTypemicroGUI.Drawing.BitmapImageType.PaletteImageTypemicroGUI.Drawing.BitmapImageType.ImageType
Enumerator ImageDirect1555
This format has, for each pixel, one bit of alpha, and 5 bits each of red, green, and blue.
ImageDirect4444
This format has 4 bits of alpha, and 4 bits each of red, green, and blue.
**ImageDirect444 **
This format requires 2 bytes per pixel. It matches the high-speed color lookup tables used by palette-based graphics drivers and provides the fastest method of drawing direct-color images with palette-based graphics drivers. Here’s the bit order: xxxx.RRRR.GGGG.BBBB
**ImageDirect565 **
This format packs each pixel into 2 bytes and matches the display format of most 16-bit, direct-color, graphics drivers. Here’s the bit order: RRRR.RGGG.GGGB.BBBB
ImageDirect8888
This format is an array of 4-byte color entries. The least significant byte is the blue component, after that there is the green component, following that there is the red component and the most significant byte is reserved.
ImageDirect888
This format packs each pixel into 3 bytes. Using this format, you can represent a full 24 bit color image. Here’s the bit order: RRRR.RRRR.GGGG.GGGG.BBBB.BBBB
- ImageDirect1555
- ImageDirect4444
- ImageDirect444
- ImageDirect565
- ImageDirect8888
- ImageDirect888