Week 2 - Image formats Flashcards
Why do we use image formats?
To be able to save image data for future manipulation or display in a consistent manner
Formats enable standardisation and the use of graphical data by more than one application
What are the two types of graphical information?
Bitmaps (raster or pixel maps)and vectors
What are bitmaps?
Images made up of pixels in a grid
Advantages of bitmaps
Works with sampled images produced by real world applications
Good at representing complex variation in colour, shades and shapes
What type of compression does GIF use?
Lossless
What is the disadvantage of a GIF?
Only a 256 colour palette
What is GIF?
One of the two widely used image formats.
What is GIF best for?
line-art images - icons, graphs, line-art logos
Why are GIFs useful?
Allow for transparency by allowing you to pick one colour from the colour map to be transparent
What are animated GIFs?
Produced by displaying many images sequentially - Not good for longer/larger animations but works well with simple ones
What is the GIF screen descriptor?
Describes the overall parameters for GIF images in the file
Placement of image in the space of the GIF
Flags to define colour map and whether there is transparency
GIF Screen descriptor - What is M?
1 if global colour map follows descriptor
GIF Screen descriptor - What is CR?
Bits per pixel in imge
GIF Screen descriptor - What is S?
Whether global colour table is sorted
GIF Screen descriptor - What is Size?
Size of the global colour table