Compress ion
= We sulle Ges, Phe pore (ilo ce cons love
- Compression aleorithas ere vied to vedwe the ommnd oF
Spee ureeded +o represed & Ge.
1 Types ot Com pression °
Lossless —> vedwe te Size vilut losing oy info Foon phe tile,
We con vecorrtvct the origina! dere
Lossy —> redvee tre site by discerding fhe less tapered info
fran the Cley ables te guilty
— Grp-lers Lon Cor-pvess text ty fiadicg wepected Seq vences ad
reply them whh shorter repre sated ons.
ex.
veglernt — origin!
x e HV ov wot KV, Xt id Xe qaston
x th
Leseless lneje Conpressia’
= For simplest of images, comples cor v50 a compression clgoritha
calle) “van lesb encoding’ (ALE),
Bile p —> maps pinels to bis ex O-9red 1 ~ bile
CLE > shoes leew pany cdored ino apecitic oder Ine vowLoseless G4 Gyprssion
= Compsbev? Gn vie bh corpessin technique called loc.
cling.
— Fav exenpky iF poe ore sity “te lob) tt hes ce sherde
biney code Hem others, ubich deuneses the legth of the code.
Lossy Compress iam
Inege
--b Com peas) ca algonithn con Keep Pe bvisghhess wh redoing,
the emond of color info & prress known <3 Cleo suboany ling
Avdio
The Wen er bes Uiletions fo lat con Mew
~ Avdio Compress tan alyonlIns Can enelyze on evdia File ond
discard the Sods ted ee Aside ov hearing cops ell, a
praess hnan os * perveyt>