Bitmap
A Bitmap item is a rectangular image made up of pixels arranged in columns and rows.
Bitmap items may be inserted into a dataset using Insert from File [Create-Miscellaneous], or as datasets using Add Overlay [Home-Map].
Properties
Item Properties
Properties
-
- Bitmap file: _bmpfile$
The file containing the Bitmap. Bitmap items which do not use linked files leave this property empty.
- Bitmap type: _classDib$
The type of image this Bitmap tem displays.
- Colour depth: _depth&
The number of bits defining each pixel in a Bitmap. The more depth a Bitmap has, the more colours it can show simultaneously.
- Compression: _compression#
The compression which has been applied to the Bitmap data. Uncompressed Bitmap items have a compression of 1, and JPEG Bitmapitems can have a compression as small as 0.1.
- Height: _height&
The number of rows in the Bitmap item.
- Resample method: _resample&
The method a Bitmap or Grid item uses when pixel values need to be resampled.
- Resolution: _resolution#
The resolution of a Polygon, QZone, or Bitmap item.
For a Polygon item, the value is the resolution of the invisible cached QZone item. If there is no cached QZone item then the Polygon item's resolution is reported as zero.
A QZone item is made up of progressively smaller squares. Its resolution is the size of the smallest QZone square.
The resolution of a Bitmap item is the size of each pixel.
- Transparent: _transparentColour$ /_alphaTransparency&
Is the Bitmap item transparent? If a Bitmap is transparent then any light coloured pixels will not obscure the graphics which are underneath it. Some displays and printers do not fully support transparency.
- Width: _width&
The number of pixels in each row of a Bitmap.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).