Image representation - 87 - 91 Flashcards
how can images in computers be stored
as bitmaps or vectors
difference between bitmaps and vectors
- bitmaps use single discrete, individual pixels of colour, which make up image
- whereas a vector uses lists of information and mathematical equations to draw an image based on the data
how to calculate size of image in pixels
width in pixels x height in pixels
what is a pixel
every dot of colour in the image
what is resolution
width in pixels x height in pixels / number of dots per inch, where a dot is a pixel
- measured in pixels per inch
what is colour depth
number of bits stored for each
pixel.
- n bits gives 2^n combinations
How many bits are usually in modern images?
24
how to calculate storage requirement for bitmaps
height in pixels x width in pixels x colour depth
relationship between the quality, colour depth, and file size
as the quality and colour depth of an image increases, its file size increases
what is metadata
data about data
- is stored along with the actual bits which make up the image and increase the overall file size
examples of metadata
- dimensions
- colour depth
- width and height in pixels
- location
- creation date
- file name
examples of information needed to draw a vector image
- fill colour
- radius
- outline colour and width
- coordinates
advantages of vector graphics
- individual parts of the image can be manipulated independently
- the image can be scaled without loss of quality
- if an object id deleted, the software knows what is behind it
disadvantages of vector graphics
- cannot easily replicate an image with continuous areas of changing colours
advantages of bitmapped graphics
- great format for storing full colour images taken on a phone or digital cameraas they can deal with images that have continuous areas of changing colour
- can handle images with high color depths
- images can easily be altered or retouched
disadvantages of bitmapped graphics
- generally take up more memory and file storage
- images don’t scale very well, they become pixelated the larger they get
describe how a vector graphic is represented
- image is represented as object
- properties of objects are stored
- a property is given, eg fill colour
explain why compression is considered necessary for images on the web
transmission of data is faster, and used less data allowance with smaller image files
advantages of vectors over bitmaps
- individual parts of the image can be manipulated
- the parts of the image can be scaled without loss of quality
- if an object is deleted, the software knows what is behind it
explain why the amount of storage space taken up by vector graphics is significantly less than the space taken up by bitmaps
- bitmap images store the colour of each pixel, whilst vector graphics do not need to store the colour of each pixel
- images can contain lots of pixels
- vector graphics store properties of the object that an image is composed of, and it takes a small amount of memory to store properties