Representing Images Flashcards
(13 cards)
What is a pixel?
The smallest unit of a bitmap image
What is the maximum number of colours that that can be be represented given the colour depth?
2colour depth
The greater the number of bits used to represent each pixel, the greater the number of unique colours that are available for each pixel.
What is the colour depth of an image?
The number of bits that are used to encode each pixel
What is the size of an image?
The width x the height of the image in pixels
What is the resolution of an image?
The number of dots (pixels) in each square inch (PPI)
What is a bitmap image?
An image file format made up of pixels which represent a small square of colour
file begins with header
remainder of files is the data for each pixel that makes up the image
How do you calculate the file size of a bitmap image?
Image size x Colour depth
What is a vector image?
Way of representing images using a series of geometric objects each of which have properties
vector image files stores data such as:
- position of shapes and paths within image
- size of the shapes and paths
- outline and fill colour and path width
Data is used to render vector image when displayed, resulting in small files sizes and images that can be infinitely scaled
vector images can be presented as lists, where the properties of each geometric object that make up the image are stored in the list’s elements as objects such as dictionaries.
What are the advantages of bitmap images?
- Can represent photorealistic images
- Each individual pixel can be manipulated and edited
What are the disadvantages of bitmap images?
- Often have a larger file size
- As images size is increased the resolution decreases leading to pixelation (not scalable)
What are the advantages of vector images?
- Typically have smaller file sizes (typical 50-100KB)
- Image can be infinitely scaled
- Editable and can be easily manipulated as each shape or path that make up image can be individually altered
-Icons, logos, font type interfaces and other computer generated graphics
What are the disadvantages of vector images?
- Require to be rendered which requires processing power and time especially for complex images
- cannot be used if colour is likely to vary from pixel to pixel therefore are not suitable for producing complex photo realistic images such as photographs
What is in the header for bitmap files?
- metadata (info about image) : GPS, camera, time and date
- colour depth
- resolution
- THIS IS ESSENTIAL INFO NEEDED TO DECODE AND PRESENT IMAGE CORRECTLY