Bit BLIT (which stands for bit-block transfer but is pronounced bit blit) is a computer graphics operation in which several bitmaps are combined into one using a raster operator.
The operation involves at least two bitmaps, a source and destination, possibly a third that is often called the "mask" and sometimes a fourth used to create a stencil. The pixels of each are combined bitwise according to the specified raster operation (ROP) and the result is then written to the destination. The ROP is essentially a boolean formula. The most obvious ROP overwrites the destination with the source. Other ROPs may involve AND, OR, XOR, and NOT operations. The Commodore Amiga's graphics chipset, for example, could combine three source bitmaps according to any of 256 boolean functions of three variables.
Modern graphics software has almost completely replaced bitwise operations with more general mathematical operations used for effects such as alpha compositing. This is because bitwise operations on color displays do not usually produce results that resemble the physical combination of lights or inks. Some software still uses XOR to draw interactive highlight rectangles; when this is done to color images the unusual resulting colors are easily seen.
Read more about Bit Blit: Origins, Example of A Masked Blit Implementation, Blitting Vs Hardware Sprites
Famous quotes containing the word bit:
“He was made bit by bit, piece by piece. The undying monster. The triumphant climax of Frankensteins genius.”
—Edward T. Lowe, and Erle C. Kenton. Dr. Edelman (Onslow Stevens)