SlideShare a Scribd company logo
6
Most read
8
Most read
10
Most read
Computer Science
(A Level)
Data Compression
A process of reducing the number
of bits required to represent data
(Definitions)
Compression
A file can be too large to store data and can take up too much
memory. Therefore, compression allows you to reduce the
volume of data, the result is known as compressed data.
Reasons to Compress Data
o Reduce file size
o Save disk space
o Increase transfer speed at a given data rate
o Allow real time transfer at a given data rate
Data Compression (Lossy and Lossless)
Data is constantly being moved around computer
systems and networks
Transfer is usually high speed and accurate
As distances get longer, transfer is slower and more
susceptible to interference
Storage space can be limited
Data Storage and Transfer
Lossy
Non-essential data is permanently removed, there is a
degradation of data.
Lossy compression loses data
You cannot get back the original file
Cheaper
Requires less time and space
Lossy compression techniques work by identifying data that can be
removed, while still creating an acceptable representation.
Lossy compressions reduce the file size but can also reduce the quality of
an image.
Lossy - JPEG
➔Joint Photographic Experts Group
➔Images and Graphics
➔Removes unnecessary data to reduce file size
➔Tries to reconstruct an image without the missing data
➔JPEG analyses pixel data within each 8x8 block (the real
image is broken down into 8x8 blocks) and removes data that
is least likely to affect the human perception of the image
Lossy - MPEG
➔Motion Picture Experts Group
➔Video
➔Removes unnecessary data in a video file.
Lossy – MP3
➔Removes sounds in frequency range that cannot be
easily heard or has the least affect
➔E.g. quieter notes played at the same time as louder
notes, are also removed
Lossless
Patterns in data are spotted and summarised in a shorter
format with no data loss, the compressed file is as accurate as
it was before compression.
Lossless compression records patterns in data and this allows it to
replicate the file exactly as it is without losing data.
Lossless – Run Length Encoding
➔Basic method of compression which summarises
consecutive patterns of the same data
➔Works well with sounds and images where data
is repeated
➔E.g. B,B,B,B,B,B,B,B (B=Blue) - is written as 8B
when compressed.
A method of compressing data by eliminating repeated data
Lossless – Dictionary Encoding
Data Token
tion 1
sta 2
na 3
crea 4
A method of compressing text files by spotting common strings of
characters and storing them separately in a dictionary
e.g. “Station”, “Nation”,
“Creation” = 21,31,41

More Related Content

POTX
Presentation of Lossy compression
Omar Ghazi
 
PPTX
Intro to Multimedia Systems
junliwanag
 
PDF
Hierarchical Clustering
Carlos Castillo (ChaTo)
 
ODP
image compression ppt
Shivangi Saxena
 
PPTX
Comparison between Lossy and Lossless Compression
rafikrokon
 
PPTX
Fundamentals of Data compression
M.k. Praveen
 
PDF
Chapter 5 - Data Compression
Pratik Pradhan
 
PDF
Image compression
GARIMA SHAKYA
 
Presentation of Lossy compression
Omar Ghazi
 
Intro to Multimedia Systems
junliwanag
 
Hierarchical Clustering
Carlos Castillo (ChaTo)
 
image compression ppt
Shivangi Saxena
 
Comparison between Lossy and Lossless Compression
rafikrokon
 
Fundamentals of Data compression
M.k. Praveen
 
Chapter 5 - Data Compression
Pratik Pradhan
 
Image compression
GARIMA SHAKYA
 

What's hot (20)

PPT
Data compression
Abhishek Grover
 
PPT
Data compression
VIKAS SINGH BHADOURIA
 
PPTX
Data compression
Muhammad Irtiza
 
PDF
Data compression introduction
Rahul Khanwani
 
PPTX
Video compression
DarkNight14
 
PPTX
data compression technique
CHINMOY PAUL
 
PDF
Video Compression
Shreyash Patel
 
PPT
Multimedia compression
pradeepa velmurugan
 
PPTX
JPEG
RajatKumar471
 
PPTX
Data compression techniques
Deep Bhatt
 
PPTX
Data compression
Sherif Abdelfattah
 
PPTX
data compression.
hasan sarker
 
PPTX
Image compression standards
kirupasuchi1996
 
PPT
Compression techniques
m_divya_bharathi
 
PPTX
Data compression
Ashutosh Kawadkar
 
PPT
lecture on data compression
Dr Rajiv Srivastava
 
PPT
Wavelet transform in image compression
jeevithaelangovan
 
PPTX
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Rishab2612
 
PPT
Image segmentation ppt
Gichelle Amon
 
PPTX
Multimedia:Multimedia compression
St Mary's College,Thrissur,Kerala
 
Data compression
Abhishek Grover
 
Data compression
VIKAS SINGH BHADOURIA
 
Data compression
Muhammad Irtiza
 
Data compression introduction
Rahul Khanwani
 
Video compression
DarkNight14
 
data compression technique
CHINMOY PAUL
 
Video Compression
Shreyash Patel
 
Multimedia compression
pradeepa velmurugan
 
Data compression techniques
Deep Bhatt
 
Data compression
Sherif Abdelfattah
 
data compression.
hasan sarker
 
Image compression standards
kirupasuchi1996
 
Compression techniques
m_divya_bharathi
 
Data compression
Ashutosh Kawadkar
 
lecture on data compression
Dr Rajiv Srivastava
 
Wavelet transform in image compression
jeevithaelangovan
 
Comparison between JPEG(DCT) and JPEG 2000(DWT) compression standards
Rishab2612
 
Image segmentation ppt
Gichelle Amon
 
Multimedia:Multimedia compression
St Mary's College,Thrissur,Kerala
 
Ad

Viewers also liked (17)

PPT
Compression
Ashish Kumar
 
PPT
Data Compression Technique
nayakslideshare
 
PPTX
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Project Student
 
PPTX
High Level Languages (Imperative, Object Orientated, Declarative)
Project Student
 
PPTX
Classification of Programming Languages
Project Student
 
PPTX
4 data compression
Rejin Thomas
 
PPTX
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Project Student
 
PPTX
A new algorithm for data compression technique using vlsi
Tejeswar Tej
 
PPT
Image compression
Ale Johnsan
 
PPS
Image file formats
Bob Watson
 
PDF
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 
PPT
1vs.100socioquiz
Herbert Corpuz
 
PPT
Lec5 Compression
anithabalaprabhu
 
PPT
Computer software 2
Suresh Kumar
 
PPT
Normalized averaging using adaptive applicability functions with applications...
Tuan Q. Pham
 
PPT
Techniques of data collection
vivek mhatre
 
PPTX
Logic gates
hareram1994
 
Compression
Ashish Kumar
 
Data Compression Technique
nayakslideshare
 
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
Project Student
 
High Level Languages (Imperative, Object Orientated, Declarative)
Project Student
 
Classification of Programming Languages
Project Student
 
4 data compression
Rejin Thomas
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Project Student
 
A new algorithm for data compression technique using vlsi
Tejeswar Tej
 
Image compression
Ale Johnsan
 
Image file formats
Bob Watson
 
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 
1vs.100socioquiz
Herbert Corpuz
 
Lec5 Compression
anithabalaprabhu
 
Computer software 2
Suresh Kumar
 
Normalized averaging using adaptive applicability functions with applications...
Tuan Q. Pham
 
Techniques of data collection
vivek mhatre
 
Logic gates
hareram1994
 
Ad

Similar to Data Compression (Lossy and Lossless) (20)

PPTX
Pbl1
Pijo Jonas
 
PDF
Data Communication & Computer network: Data compression
Dr Rajiv Srivastava
 
PDF
10lecture10datacompression-171023182241.pdf
PUSHKAR ARYA
 
PPTX
Data compression ppt.pptx@Data compression
girisakthi1996
 
PPTX
Data-Compression-Technique(communication).pptx
davelagos1
 
PPT
Data compression
Vimal Gupta
 
PDF
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
IOSR Journals
 
PPTX
File types pro forma
Cam Stannard
 
PPTX
Task 1 – digital graphics for computer games
James-003
 
PPTX
Unit 3 Image Compression and Segmentation.pptx
AmrutaSakhare1
 
PPTX
11.3_Reducing_file_sizes_for_storage_or_for_transmission.pptx
amirasaid9452
 
PDF
[IJCT-V3I2P27] Authors: Palwinder Singh
IJET - International Journal of Engineering and Techniques
 
PPTX
File types
Calum Johnson-
 
PPT
Backing up of data IGCSE ICT Chapter 3.ppt
TeenaSharma73
 
PPTX
File Formats
GW8
 
PPTX
Video compression
Deepa K C
 
DOCX
Task 4 investigate digital animation
Alex_Gormley
 
PPTX
Data compression algorithms
MohnishReddy1
 
PPT
Media Encoding
Phillip Doyle
 
PDF
Data compression
Sumant Diwakar
 
Data Communication & Computer network: Data compression
Dr Rajiv Srivastava
 
10lecture10datacompression-171023182241.pdf
PUSHKAR ARYA
 
Data compression ppt.pptx@Data compression
girisakthi1996
 
Data-Compression-Technique(communication).pptx
davelagos1
 
Data compression
Vimal Gupta
 
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
IOSR Journals
 
File types pro forma
Cam Stannard
 
Task 1 – digital graphics for computer games
James-003
 
Unit 3 Image Compression and Segmentation.pptx
AmrutaSakhare1
 
11.3_Reducing_file_sizes_for_storage_or_for_transmission.pptx
amirasaid9452
 
[IJCT-V3I2P27] Authors: Palwinder Singh
IJET - International Journal of Engineering and Techniques
 
File types
Calum Johnson-
 
Backing up of data IGCSE ICT Chapter 3.ppt
TeenaSharma73
 
File Formats
GW8
 
Video compression
Deepa K C
 
Task 4 investigate digital animation
Alex_Gormley
 
Data compression algorithms
MohnishReddy1
 
Media Encoding
Phillip Doyle
 
Data compression
Sumant Diwakar
 

More from Project Student (17)

PPTX
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Project Student
 
PPTX
Operating System (Scheduling, Input and Output Management, Memory Management,...
Project Student
 
PPTX
Human Resources (HRM, Soft and Hard HRM)
Project Student
 
PPTX
Product Life Cycle (Stages and Extension Strategies)
Project Student
 
PPTX
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Project Student
 
PPTX
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Project Student
 
PPTX
Price (Market-Orientated and Cost-Based Pricing)
Project Student
 
PPTX
Changes in working practices
Project Student
 
PPTX
Hexadecimal (Calculations and Explanations)
Project Student
 
PPTX
Ascii and Unicode (Character Codes)
Project Student
 
PPTX
Workforce Planning (Process, Labour Shortage, Excess Labour)
Project Student
 
PPTX
Harvard vs Von Neumann Architecture
Project Student
 
PPTX
Programming Languages / Translators
Project Student
 
PPTX
Assembly and Machine Code
Project Student
 
PPTX
Software (Application and System Software)
Project Student
 
PPTX
Hardware and Software
Project Student
 
PPTX
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)
Project Student
 
Motivation Theories (Maslow's Hierarchy of Needs, Taylor's Scientific Managem...
Project Student
 
Operating System (Scheduling, Input and Output Management, Memory Management,...
Project Student
 
Human Resources (HRM, Soft and Hard HRM)
Project Student
 
Product Life Cycle (Stages and Extension Strategies)
Project Student
 
Product (Product Portfolio, Branding, USP, Product Depth and Breadth, Product...
Project Student
 
Training Methods (On-The-Job, Off-The-Job, Retraining and Apprenticeships)
Project Student
 
Price (Market-Orientated and Cost-Based Pricing)
Project Student
 
Changes in working practices
Project Student
 
Hexadecimal (Calculations and Explanations)
Project Student
 
Ascii and Unicode (Character Codes)
Project Student
 
Workforce Planning (Process, Labour Shortage, Excess Labour)
Project Student
 
Harvard vs Von Neumann Architecture
Project Student
 
Programming Languages / Translators
Project Student
 
Assembly and Machine Code
Project Student
 
Software (Application and System Software)
Project Student
 
Hardware and Software
Project Student
 
Enterprise (Entrepreneur, Innovation, Business Sectors, SMEs)
Project Student
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Doc9.....................................
SofiaCollazos
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 

Data Compression (Lossy and Lossless)

  • 2. A process of reducing the number of bits required to represent data (Definitions)
  • 3. Compression A file can be too large to store data and can take up too much memory. Therefore, compression allows you to reduce the volume of data, the result is known as compressed data. Reasons to Compress Data o Reduce file size o Save disk space o Increase transfer speed at a given data rate o Allow real time transfer at a given data rate
  • 5. Data is constantly being moved around computer systems and networks Transfer is usually high speed and accurate As distances get longer, transfer is slower and more susceptible to interference Storage space can be limited Data Storage and Transfer
  • 6. Lossy Non-essential data is permanently removed, there is a degradation of data. Lossy compression loses data You cannot get back the original file Cheaper Requires less time and space Lossy compression techniques work by identifying data that can be removed, while still creating an acceptable representation. Lossy compressions reduce the file size but can also reduce the quality of an image.
  • 7. Lossy - JPEG ➔Joint Photographic Experts Group ➔Images and Graphics ➔Removes unnecessary data to reduce file size ➔Tries to reconstruct an image without the missing data ➔JPEG analyses pixel data within each 8x8 block (the real image is broken down into 8x8 blocks) and removes data that is least likely to affect the human perception of the image
  • 8. Lossy - MPEG ➔Motion Picture Experts Group ➔Video ➔Removes unnecessary data in a video file. Lossy – MP3 ➔Removes sounds in frequency range that cannot be easily heard or has the least affect ➔E.g. quieter notes played at the same time as louder notes, are also removed
  • 9. Lossless Patterns in data are spotted and summarised in a shorter format with no data loss, the compressed file is as accurate as it was before compression. Lossless compression records patterns in data and this allows it to replicate the file exactly as it is without losing data.
  • 10. Lossless – Run Length Encoding ➔Basic method of compression which summarises consecutive patterns of the same data ➔Works well with sounds and images where data is repeated ➔E.g. B,B,B,B,B,B,B,B (B=Blue) - is written as 8B when compressed. A method of compressing data by eliminating repeated data
  • 11. Lossless – Dictionary Encoding Data Token tion 1 sta 2 na 3 crea 4 A method of compressing text files by spotting common strings of characters and storing them separately in a dictionary e.g. “Station”, “Nation”, “Creation” = 21,31,41