EECS 1520 Lecture 5: Lecture 5- digital media
![EECS 1520 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2191161-class-notes-ca-york-eecs-1520-lecture7.jpg)
54
EECS 1520 Full Course Notes
Verified Note
54 documents
Document Summary
Graphics/images: representing colour (rgb, cmyk, hsl, yuv, rgb- three integers describe the amount of red, green, and. Blue required to reproduce the colour: integer value ranges from 0-255 (1 bite, 255 values = 1 byte = 2 nibbles = 2 hexadecimal digits, 6 hexadecimal digits are used to represent the entire colour (rrggbb, ex. Rgb = (rr, gg, bb) = (178, 102, 255: rr = 17810 = b216, gg = 10210 = 6616. 2: bb = 25510 = ff16, (178, 102, 255) = #b266ff hexadecimal, highest saturation = 255, 255, 255, (black = 0, 0, 0), (red = 255, 0, 0), (green = 0, 255, 0), (blue = 0, Indexed colour- compressing images by using keyword encoding for colours: instead of a pallet of indexed colours representing all colours, save only those used. Image formats: gif (graphics interchange format, lossless compression using indexed colours, run-length coding, 10% compression ratio, allows transparency and animation.