[go: up one dir, main page]

0% found this document useful (0 votes)
25 views7 pages

Bitmap Images

Bitmap images are composed of pixels arranged in a matrix, where each pixel is represented by binary numbers. The colour depth determines the number of colours each pixel can represent, with higher bits allowing for more colours. Image resolution and file size are calculated based on the number of pixels and colour depth, affecting how images are displayed on screens with varying resolutions.

Uploaded by

Devante Passade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views7 pages

Bitmap Images

Bitmap images are composed of pixels arranged in a matrix, where each pixel is represented by binary numbers. The colour depth determines the number of colours each pixel can represent, with higher bits allowing for more colours. Image resolution and file size are calculated based on the number of pixels and colour depth, affecting how images are displayed on screens with varying resolutions.

Uploaded by

Devante Passade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Bitmap Images

By Devante Passade
Bitmap images:
Intro

● A bitmap is the
simplest way to
represent image data
● It is divided into small
squares known as
pixels.
● Therefore, it forms a
matrix of pixels
● Each pixel can be
represented as a
binary number (1s
and 0s)
Colour depth:
Bitmap images
● If an image is monochrome
- It requires 1-bit per pixel
● This results in two possible
colours for each pixel (black
or white) which corresponds
to 1 or 0
● if each pixel is represented
by 2 bits, then each pixel
can be one of four possible
colours
● if each pixel is represented
by 3 bits then each pixel
can be one of eight possible
colours
Colour depth:
continued
● The number of bits used per
pixel is called the colour depth.
● If an image needs more than two
colours, you will need more bits
per pixel. For example, with 2
bits, you can have 2 × 2 = 4
different bit patterns, and so you
can represent four different
colours.
● Using 3 bits will allow for more
colours because there are more
binary patterns available for the
colour: 2 × 2 × 2 = 8
● An 8 bit colour depth means that
each pixel can be one of 256
colours
Image resolution
● Image resolution can be
expressed as the number of
pixels that an image contains
per inch (e.g. 300 ppi (pixels
per inch)).
● Note that the term 'image
resolution' is sometimes used
to describe the size of a
bitmapped graphic in pixels.
The size in pixels is calculated
by multiplying the width (in
pixels) by the height (in pixels)
of the image.
Calculating file
size
● To find the size of an image file,
you multiply the resolution of
the image by the colour depth:
image file size (in bits) = width
(in pixels) × height (in pixels) ×
colour depth
● The greater the image
resolution or colour depth, the
greater the file size.
Screen
resolution
● Screen resolution is also
expressed by specifying the
width of the screen in pixels by
the height of the screen in
pixels
● If you try to view an image with
a low resolution (eg 300×240
pixels) in full-screen mode on a
screen with a higher resolution
● 1,280×720 pixels), the computer
will need to rescale the image
to fit the screen, and that will
cause the image to look
pixelated.

You might also like