Please enable JavaScript.
Coggle requires JavaScript to display documents.
Representing Images In Binary - Coggle Diagram
Representing Images In Binary
Images
The size can be expressed with pixels in the form of width x height , for example 1920x1080
The resolution is the detail the images hold for example pixels per inch
A pixel is an individual picture element = 'the smallest distinguishable feature' Monitors (VDUs) are divided into rows and columns of pixels
A bitmap is an image stored as an array of individual pixels
Analogue -> Digital
For black and white this is simple white = 0 black = 1
For colour , each pixel is represented by multiple bits , one combination per shade
An average colour is found for each pixel , and a binary value is assigned
The number of bits allocated to represent each pixel's colour is called the colour depth/bit depth
To convert an image to digital , effectively a grid is placed over the image
Colour depth
4 # of colours = 2^4=16 8 # colours 2^8 = 256 etc
File Sizes
Increasing the resolution and colour depth increases file size
Size B = W X H X D divided by / 8
Size b = W X H X D
W = Width H= Height (both in pixels) D = Colour depth in bits
Metadata (Data about Data)
Stored alongside raw images and is need to display properly
For example the file name , file format , colour depth and resolution are required
Non-required data includes camera details etc