September,2012 File Compression 8/6/2015 1 Compiled By:- Solomon W. Demissie.

Slides:



Advertisements
Similar presentations
T.Sharon-A.Frank 1 Multimedia Compression Basics.
Advertisements

Data Compression CS 147 Minh Nguyen.
Principles of Information Technology
Reducing File Sizes. File Formats In this lesson, we will be looking at: How do we measure file size? Why are some files bigger than others? Why should.
SIMS-201 Compressing Information. 2  Overview Chapter 7: Compression Introduction Entropy Huffman coding Universal coding.
Introduction to Data Compression
Time to wake up. ChitChat Talk with the person sitting next to you –Ask him/her Name (if you do not know already) What have you done during this morning.
Compression JPG compression, Source: Original 10:1 Compression 45:1 Compression.
Compression & Huffman Codes Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
ICT Foundation 1 Copyright © 2010, IT Gatekeeper Project – Ohiwa Lab. All rights reserved. Data Compression.
Data Compression Basics & Huffman Coding
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Data dan Teknologi Multimedia Sesi 08 Nofriyadi Nurdam.
Week 8 - Tutorial Interactive Digital Moving Image Production | CU3003NI | - Pratik Man Singh Pradhan.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
Lecture 10 Data Compression.
Data Compression and Security Chapter 20, Exploring the Digital Domain.
Cosc 2150: Computer Organization Chapter 2a Data compression.
MULTIMEDIA TECHNOLOGY SMM 3001 DATA COMPRESSION. In this chapter The basic principles for compressing data The basic principles for compressing data Data.
Data Compression.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2011.
© Keith Vander Linden, 2005 Jeremy D. Frens, Open up the box of a computer, and you won't find any numbers in there. You'll find electromagnetic.
Multimedia and The Web.
1 Analysis of Algorithms Chapter - 08 Data Compression.
1 Zamzar The Solution for File Conversion Alison Fricke EDIT 605 Week 6&7 July 15, 2008.
1 CP Lecture 8 PC and Media exchange standards.
HTML Use of Multimedia on web page. HTML Media Q. How to call Image file in our web page ? A. That is the easy syntax for defining an image. 2.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
The LZ family LZ77 LZ78 LZR LZSS LZB LZH – used by zip and unzip
© Keith Vander Linden, 2005 Jeremy D. Frens, Open up the box of a computer, and you won't find any numbers in there. You'll find electromagnetic.
1 Classification of Compression Methods. 2 Data Compression  A means of reducing the size of blocks of data by removing  Unused material: e.g.) silence.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
File Format. Graphics file Format GIF (Graphics Interchange Format) JPEG (Joint Photographic Experts Group) PNG (Portable Network Graphics) TIFF (Tag.
File Format. Graphic file Format GIF –cross-platform compatibility –developed by CompuServe as a common format for exchanging bitmapped images between.
CSCI-100 Introduction to Computing Hardware Part II.
Multimedia in Web Introduction. Multimedia Elements in Web Page Images Voice Music Animation Video Text & Numbers.
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 7 – Basics of Compression (Part 2) Klara Nahrstedt Spring 2012.
Huffman code and Lossless Decomposition Prof. Sin-Min Lee Department of Computer Science.
Lecture 12 Huffman Coding King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
Information Systems Design and Development Media Types Computing Science.
By :- Ishank Ranjan Akash Gupta. Audio & Audio File Formats Audio is an electrical or other representation of sound. An audio file format is a file format.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Data Compression: Huffman Coding in Weiss (p.389)
Unit 13 Data Compression King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
Design & Analysis of Algorithm Huffman Coding
Compression & Huffman Codes
Data Compression.
Digital Video File Formats
Lesson Objectives Aims You should know about: 1.3.1:
Data Compression.
Data Compression CS 147 Minh Nguyen.
David Zepeda Information Architecture and Design I Fall 2005
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Representing Images 2.6 – Data Representation.
short term and long term speed, capacity, compression formats, access
Web Design and Development
UNIT IV.
Creative Media Pre-production Introduction Creative Media GCSE
File Compression and Formats
Chapter 8 – Compression Aims: Outline the objectives of compression.
Compression.
Digital Video Faraz Khan.
Presentation transcript:

September,2012 File Compression 8/6/ Compiled By:- Solomon W. Demissie

Introduction to Data Compression What is Data Compression? Why Data Compression? How is Data Compression possible? Lossless and Lossy Data Compression Static, Adaptive, and Hybrid Compression Compression Utilities and Formats Compress on Windows 7 8/6/ Compiled By:- Solomon W. Demissie

What is Data Compression? Data compression is the representation of an information source (e.g. a data file, a speech signal, an image, or a video signal) as accurately as possible using the fewest number of bits. Compressed data can only be understood if the decoding method is known by the receiver. 8/6/ Compiled By:- Solomon W. Demissie

Why Data Compression? Data storage and transmission cost money. This cost increases with the amount of data available. This cost can be reduced by processing the data so that it takes less memory and less transmission time. Disadvantage of Data compression: Compressed data must be decompressed to be viewed (or heard), thus extra processing is required. The design of data compression schemes therefore involve trade-offs between various factors, including the degree of compression, the amount of distortion introduced (if using a lossy compression scheme), and the computational resources required to compress and uncompress the data. 8/6/ Compiled By:- Solomon W. Demissie

How is data compression possible?  Compression is possible because information usually contains redundancies, or information that is often repeated.  Examples include reoccurring letters, numbers or pixels  File compression programs remove this redundancy. 8/6/ Compiled By:- Solomon W. Demissie

Lossless and Lossy Compression Techniques Data compression techniques are broadly classified into lossless and lossy. Lossless techniques enable exact reconstruction of the original document from the compressed information. Exploit redundancy in data Applied to general data Examples: Run-length, Huffman, LZ77, LZ78, and LZW Lossy compression - reduces a file by permanently eliminating certain redundant information Exploit redundancy and human perception Applied to audio, image, and video Examples: JPEG and MPEG Lossy techniques usually achieve higher compression rates than lossless ones but the latter are more accurate. 8/6/ Compiled By:- Solomon W. Demissie

Compression Utilities and Formats Compression tool examples: winzip, pkzip, compress, gzip General compression formats:.zip,.gz, rar Common image compression formats: JPEG, JPEG 2000, BMP, GIF, PCX, PNG, TGA, TIFF, WMP Common audio (sound) compression formats: MPEG-1 Layer III (known as MP3), RealAudio (RA, RAM, RP), AU, Vorbis, WMA, AIFF, WAVE, G.729a Common video (sound and image) compression formats: MPEG-1, MPEG-2, MPEG-4, DivX, Quicktime (MOV), RealVideo (RM), Windows Media Video (WMV), Video for Windows (AVI), Flash video (FLV) 8/6/ Compiled By:- Solomon W. Demissie

How to Compress Files in Windows 8/6/ Compiled By:- Solomon W. Demissie

Need to send someone a big batch of files? Don't attach one after another after another to your . Instead, compress the files into one smaller, easier-to-manage file. In other words, "Zip" them. The Zip file format has long been used to compress and archive data. Suppose you have, say, 50 Word documents that have a combined size of 5MB. By zipping them, you end up with a single file that's much smaller-- maybe 1MB or even 500K.Zip file format 8/6/2015 Compiled By:- Solomon W. Demissie 9

Steps If you're already using a utility like PKZip or WinZip to compress and decompress files, there's little point in changing. But did you know Windows has Zip capabilities built right in? Here's how to use them on the fly, using the aforementioned as an example: 1. Compose your message, then click Attach File (or whatever is your mail client's equivalent). 2. Using the file selector that appears, find the files you want to attach. (They all need to be in the same folder.) 8/6/ Compiled By:- Solomon W. Demissie

Cont… 3. Select all the files you want to zip. (To select multiple files at a time, hold down the Ctrl key while clicking each one in turn.) 4. Right-click any of the selected files, then choose Send to, Compressed (zipped) folder. 5. Windows will quickly compress the files and create a new, zipped file that's immediately ready to be renamed (if necessary--if not, just press Enter). 6. Attach your newly created Zip file to the . 8/6/ Compiled By:- Solomon W. Demissie

Exercises 1.Using the Huffman tree constructed in this session, decode the following sequence of bits, if possible. Otherwise, where does the decoding fail? Using the Huffman tree constructed in this session, write the bit sequences that encode the messages: test, state, telnet, notes 3.Mention one disadvantage of a lossless compression scheme and one disadvantage of a lossy compression scheme. 4.Write a Java program that implements the Huffman coding algorithm. 8/6/ Compiled By:- Solomon W. Demissie

Finaly Question and Feedback You welcome 8/6/ Compiled By:- Solomon W. Demissie