6
Most read
7
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

PPTX
Fundamentals of Data compression
PPT
Dbms relational model
PPT
Multimedia color in image and video
PPT
Indian chemical industry
PPTX
Ppt on audio file formats
PDF
Chapter 5 - Data Compression
PPTX
Introduction to library science
PDF
Python Programming Tutorial | Edureka
Fundamentals of Data compression
Dbms relational model
Multimedia color in image and video
Indian chemical industry
Ppt on audio file formats
Chapter 5 - Data Compression
Introduction to library science
Python Programming Tutorial | Edureka

What's hot (20)

ODP
image compression ppt
PPT
Data compression
PPTX
Comparison between Lossy and Lossless Compression
PPTX
Chapter 8 image compression
PPTX
digital image processing
PPT
Image segmentation
PPT
Data compression
PPTX
Data compression
PPT
Image segmentation ppt
PPTX
Video compression
PPTX
Data compression techniques
PPTX
Color Image Processing
PPTX
Audio compression
POTX
Presentation of Lossy compression
PDF
Video compression
PPTX
Bit plane coding
PPTX
Data compression
PPTX
Audio and Video Compression
PPTX
Introduction to Image Compression
PPTX
Data Compression Project Presentation
image compression ppt
Data compression
Comparison between Lossy and Lossless Compression
Chapter 8 image compression
digital image processing
Image segmentation
Data compression
Data compression
Image segmentation ppt
Video compression
Data compression techniques
Color Image Processing
Audio compression
Presentation of Lossy compression
Video compression
Bit plane coding
Data compression
Audio and Video Compression
Introduction to Image Compression
Data Compression Project Presentation
Ad

Viewers also liked (20)

PDF
Data compression introduction
PPT
Compression
PPT
Data Compression Technique
PPTX
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
PPTX
data compression technique
PPTX
High Level Languages (Imperative, Object Orientated, Declarative)
PPTX
Classification of Programming Languages
PPT
Compression techniques
PPTX
4 data compression
PPTX
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
PPTX
A new algorithm for data compression technique using vlsi
PPT
Image compression
PPS
Image file formats
PDF
LinkedIn SlideShare: Knowledge, Well-Presented
PPT
1vs.100socioquiz
PPT
Lec5 Compression
PPT
Computer software 2
PPT
Normalized averaging using adaptive applicability functions with applications...
PPT
Techniques of data collection
PPTX
Logic gates
Data compression introduction
Compression
Data Compression Technique
Appraisal (Self Assessment, Peer Assessment, 360 Degree Feedback)
data compression technique
High Level Languages (Imperative, Object Orientated, Declarative)
Classification of Programming Languages
Compression techniques
4 data compression
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
A new algorithm for data compression technique using vlsi
Image compression
Image file formats
LinkedIn SlideShare: Knowledge, Well-Presented
1vs.100socioquiz
Lec5 Compression
Computer software 2
Normalized averaging using adaptive applicability functions with applications...
Techniques of data collection
Logic gates
Ad

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

PPTX
PDF
Data Communication & Computer network: Data compression
PPT
lecture on data compression
PDF
10lecture10datacompression-171023182241.pdf
PPTX
data compression.
PPTX
Data compression ppt.pptx@Data compression
PPTX
Data-Compression-Technique(communication).pptx
PPT
Data compression
PDF
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
PPTX
File types pro forma
PPTX
Task 1 – digital graphics for computer games
PPTX
Unit 3 Image Compression and Segmentation.pptx
PPTX
11.3_Reducing_file_sizes_for_storage_or_for_transmission.pptx
PDF
[IJCT-V3I2P27] Authors: Palwinder Singh
PPTX
File types
PPT
Backing up of data IGCSE ICT Chapter 3.ppt
PPTX
File Formats
 
PPTX
Video compression
DOCX
Task 4 investigate digital animation
PPTX
Data compression algorithms
Data Communication & Computer network: Data compression
lecture on data compression
10lecture10datacompression-171023182241.pdf
data compression.
Data compression ppt.pptx@Data compression
Data-Compression-Technique(communication).pptx
Data compression
Affable Compression through Lossless Column-Oriented Huffman Coding Technique
File types pro forma
Task 1 – digital graphics for computer games
Unit 3 Image Compression and Segmentation.pptx
11.3_Reducing_file_sizes_for_storage_or_for_transmission.pptx
[IJCT-V3I2P27] Authors: Palwinder Singh
File types
Backing up of data IGCSE ICT Chapter 3.ppt
File Formats
 
Video compression
Task 4 investigate digital animation
Data compression algorithms

More from Project Student (17)

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

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Tartificialntelligence_presentation.pptx
Getting Started with Data Integration: FME Form 101
sustainability-14-14877-v2.pddhzftheheeeee
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
What is a Computer? Input Devices /output devices
Developing a website for English-speaking practice to English as a foreign la...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
NewMind AI Weekly Chronicles – August ’25 Week III
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Module 1.ppt Iot fundamentals and Architecture
Final SEM Unit 1 for mit wpu at pune .pptx
A comparative study of natural language inference in Swahili using monolingua...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Benefits of Physical activity for teenagers.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
DP Operators-handbook-extract for the Mautical Institute
O2C Customer Invoices to Receipt V15A.pptx
Hindi spoken digit analysis for native and non-native speakers
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...

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