Difference between revisions of "Bitmap Graphics"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Color Depth)
Line 10: Line 10:
 
[[File:Challenge-Accepted-Meme.jpg]]  
 
[[File:Challenge-Accepted-Meme.jpg]]  
  
although if an image has 24 bit color depth, it can code up to 16777216 colors!
+
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 ==
  
 
Resolution
 
Resolution

Revision as of 13:49, 15 December 2016

Definitions

Bitmap image- Bitmap images are stored as a series of pixels. Pixel- A pixel is actually a very small square that is assigned a color, and then arranged in a pattern to form 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