Bitmap Graphics

From TRCCompSci - AQA Computer Science
Revision as of 22:21, 15 December 2016 by C3ypt1c (talk | contribs) (Resolution: Added some explanation that will be revised !!Needs Images!!)
Jump to: navigation, search

Definitions

Name Definition
Bitmap image Bitmap images are stored as a series of pixels.
Pixel A pixel is a single point in a graphic image with an assigned colour. Many of them on a screen are assigned a colour in a specific place to recreate a bitmap image.

Color Depth

Color depth is either the number of bits used to indicate the color of a single pixel, in a bitmap image, or the number of bits used for each color component of a single pixel. This means the number of bits needed to code an image. For example an image will only need 2 bit color depth for black and white, such as the following image...

File:Challenge-Accepted-Meme.jpg

although if an image has 24 bit color depth, it can code up to 16777216 colors, such as the following image...

File:Images.jpg

Resolution

Resolution is determined by the height and width of an image file, for example:

Awaiting Image

This square has a total of 10000 pixels because 100 * 100 is 10,000.

Awaiting Image

The image above is the same image but with twice the magnification of the first. You should start to see pixels of the image appear.