📚 Seth MB

Search

Search IconIcon to open search

Images

Last updated May 26, 2023 Edit

Images consist of tiny pixels (picture elements). The higher the number of pixels, the higher the resolution of the image and the higher the storage space.

# Vector Image

# Bitmap Image

# Storing a black and white image

A simple 2 colour image can be stored using 1 bit per pixel. So a 0 could be black and a 1 could be white.

# Colour Depth

1 bit => 2 possible colours (42K) 2 bits => 4 possible colours 4 bits => 16 possible colours 8 bits => 256 possible colours (420KB)

24 bits => 16 million possible colours (1.2MB)

As the number of bits increases, more colours can be used.

An image with colour depth n can represent 2^n colours.

# RGB

Luminosity: Red: 24 bits Green: 24 bits Blue: 24 bits

Each channel has 24 bits, to allow very precise colours.

Screen resolution is horizontal pixels * vertical pixels.

# Resolution

# Pixel Density

# Estimating the size of an image file

# Practice

600 x 800 pixels 16 bit colour

600 x 800 = 567620 x 16 = 9081920 bits = 0.96 MB

# Run Length Encoding (RLE)

# Metadata

“Data about data”

Next: Sound

Theory