Computer Science 1033A/B Lecture Notes - Lecture 5: Internet Protocol Suite, Lossless Compression, Image File Formats

37 views2 pages
mikekuo58 and 38820 others unlocked
COMPSCI 1033A/B Full Course Notes
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents

Document Summary

Lossless compresses original bits and byte, but does not lose the original information about the picture. When you reopen the file, all the info about the picture is still there no info is lost. When compressed, the original information is lost. Pattern decoding: huffman coding -> more common letters use less bytes (e,o,s,t,r,etc. ); less common letters use the larger byte codes (q,x,z,etc. : humans notice changes in brightness more than changes in colour. Lossy discards the slight difference in colour rather than brightness. Gif: only supports 8 bits (256 colours, used primarily for cartoons, not good enough quality for photographs, benefits of gif: Lossless compression, except for the first time that a jpg is getting compressed to a gif. Can chose a colour to be transparent (can"t do that with a jpg) Allows for simple animations, work in all browsers.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents