Reads BMP header files, retrieves image info and draws the image palette (only if the image is less than 256 colors)
Name | Description |
---|---|
SIGNATURE | BMP header signature |
FILESIZE | The whole file size |
WIDTH | Width of the BMP image |
HEIGHT | Height of the BMP image |
PLANES | Number of image planes |
BITCOUNT | Image depth in bits per pixel |
COMPRESSION | Detects if the BMP is a compressed image (RLE compression) |
IMAGESIZE | The image [compressed] data size (header excluded) |
XPIXELSPERM | Horizontal image definition (pixels per meter) |
YPIXELSPERM | Vertical image definition (pixels per meter) |
COLORSUSED | Number of colors used in the image |
COLORSIMPORTANT | Number of colors marked as important |
NUMCOLORS | Number of colors (computed using BITCOUNT) |
PALETTE | A 160 * 160 QPANEL component. It's the place where the image palette will be drawn |