O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to Bitmaps

The phrase bitmapped graphics files, in the truest sense, refers to any file format used to store pictures, such as those taken from digital cameras or scanners, downloaded off the Internet, or even hand-drawn artwork. The term bitmap refers to the way bits in the image are encoded in the image file or in the memory prior to being displayed.

Tip

Recall that 8 bits = 1 byte, and a 32-bit video card requires 4 bytes for every pixel.

The bit format of the display screen (your monitor) is not always the same as the bit format of a picture in memory or in a disk file, but Windows and DirectX (which powers DB) are able to handle the task of converting pictures from disk to a format that is supported by your video card.

Bitmaps ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required