File Compression and Formats

Slides:



Advertisements
Similar presentations
The Keys to Speed. File Extensions Definition A tag of three or four letters, preceded by a period, which identifies a data file's format or the application.
Advertisements

Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Digital Multimedia.
Sounds, Images & Other Objects Website Production.
WMES3103 : INFORMATION RETRIEVAL
Guilford County SciVis V106.01
V Obtained from a Guildford County workshop-Summer, 2014.
Welcome to a New Quarter Class Rules and Responsibilities What will be learning? 106-Static and Dynamic Visualization 105-Synthesize Data for SciVis Video-Real.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
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.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Module Code: CU0001NI Technical Information on Digital Images Week -2.
Institute of Technology Sligo - Dept of Computing Sem 1 Chapter 14: Layer 6 - The Presentation layer.
All About File Formats Mr. Butler John Jay High School Department of Technology.
Multimedia and The Web.
Introduction to Web Design Web publishing HTML basics Web design principles Multimedia on the Web.
3.2 Data Portability. Overview Understand the need for data compression and software needed to compress/decompress data. Identify common file types such.
Document Formats How to Build a Digital Library Ian H. Witten and David Bainbridge.
1.1 What is Multimedia Multimedia
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
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Information Processes and Technology Multimedia: Graphics.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
Web Graphics By Chris Harding. Contents  Software  Vector Graphics and Pixel Based  Transparent Images  Compression  GIF vs. JPEG  Animated GIF.
Web Graphics. Colours and Display Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color.
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.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
File Analysis Dr. John P. Abraham Professor UTPA.
Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic.
Raster Graphics 2.01 Investigate graphic image design.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Chapter 6:Graphics & Multimedia. “ MULTIMEDIA is a seamless integration of data, text, image of all kinds and sound within a digital environment. ” FELDMAN,
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Information Systems Design and Development Media Types Computing Science.
Part A Multimedia Production
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Web Graphics By Chris Harding.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Image Formats.
Lesson Objectives Aims You should know about: 1.3.1:
Chapter 3 Graphics and Image Data Representations
Sci Vis I Exam Review Unit 6 File Formats.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
A computer display is made up of small squares, called pixels.
Image File Size and File Compression
Digital Image Formats: An Explanation
1.01 Investigate graphic types and file formats.
Fun gym Cambridge Nationals R001.
Web Design and Development
Topic 3: Data Compression.
ИНФОРМАТИКА И РАЧУНАРСТВО Наставна тема: РАЧУНАРСКА ГРАФИКА
Final Study Guide Arts & Communications.
GRAPHICAL DATA EXCHANGE FORMATS .jpg .gif .tif.
Lesson 5: Multimedia on the Web
(c) V/2-Com (Verhaart) Multimedia Elements & standards 4/15/2019 (c) V/2-Com (Verhaart)
Building an Online Store
Chapter 8 – Compression Aims: Outline the objectives of compression.
Movie Maker This presentation will get you started with using Windows Movie Maker - Your very own movie studio. It provides step by step instructions for.
Presentation transcript:

File Compression and Formats 4/22/2019 File Compression and Formats HTML isn’t all… Prof. Sheizaf Rafaeli E-Commerce 4/22/2019 Prof. Sheizaf Rafaeli Prof. Sheizaf Rafaeli

It’s about bandwidth It’s about time / quality tradeoff It’s about multimedia It’s about intellectual property See: “Multimedia File Formats on the Internet”, at: http://128.151.244.128/multimed/contents.htm See “The Bandwidth Conservation Society”, at: http://www.infohiway.com/faster/index.html 4/22/2019 Prof. Sheizaf Rafaeli

File formats Over 5000 types Content: text, data (spreadsheet, database, ppt), graphics, audio, video Executable programs (client, server sides) Formulae: MIDI, 3D, VRML How important are file formats for establishing business clout? 4/22/2019 Prof. Sheizaf Rafaeli

File Format Considerations Considerations: Compression, Efficiency (of compression and decode), Quality, Variety, Resolution, Color, Depth, Transportability, Scalability, Standardization, Encryption 4/22/2019 Prof. Sheizaf Rafaeli

File types on the web: plugins                                                                                                    Source: StatMarket, January 2001 4/22/2019 Prof. Sheizaf Rafaeli

Compression 4/22/2019 Prof. Sheizaf Rafaeli

Compression There are various compression methods. Some searching for and replace characters with codes. e.g. strings of blanks can be replaced with a code that represents them. Some replace long sequences of repeating characters with one occurance of the character and a number. Some compression programs create a dictionary 4/22/2019 Prof. Sheizaf Rafaeli

Compression UNCOMPRESSED: How much wood could a woodchuck chuck if a woodchuck could chuck wood. COMPRESSED: How much 1 2 a 1 3 3 if a 1 3 2 3 1. 1=wood 2=could 3=chuck 4/22/2019 Prof. Sheizaf Rafaeli

Compression utilities WinZip StuffIt Zip, .ZOO, ARJ, ARC, .Z, LHA, HQX, TAR, BinHex, Base64, Uuencode, many more 4/22/2019 Prof. Sheizaf Rafaeli

Graphic file formats BMP WMF, PCX TIFF, GIF, JPG, PNG Which is appropriate for web? Bandwidth, “lossy”, rendering fonts, scalability, economically viable? Which is more “accurate”? Which is really necessary? 4/22/2019 Prof. Sheizaf Rafaeli

GIF vs. JPG GIF (Graphical Interchange Format) Smaller file sizes for graphic images with large areas of solid colors and uncomplicated backgrounds Supports transparency, interlacing, animation “Owned” by Compuserve JPEG (Joint Photographic Experts Group) smaller file sizes for images that have gradual transitions or many fine details such as photographs 4/22/2019 Prof. Sheizaf Rafaeli

GIFs are lossless but may not be as effificent Graphics with repeating horizontal elements compress better than graphics with repeating vertical elements in the GIF format. 200 bytes or so 600 bytes or so 4/22/2019 Prof. Sheizaf Rafaeli

Compressing images Run-length encoding compresses images without losing information. 4/22/2019 Prof. Sheizaf Rafaeli

Lossy vs. Lossless A leading lossless compression scheme is LZW (Lempel-Ziv- Welch). LZW is used in GIF files, and achieves compression ratios of 50 to 90% Lossy compression does not uncompress to the same quality. The leading lossy compression schemes are JPEG and MP3. Compression ratios between 10:1 and 40:1 are common. 4/22/2019 Prof. Sheizaf Rafaeli

Lossy compression Lossy compression reduces the data density, and is not likely to be noticed by the human eye. But if an image is made too large after compression, the image looks rough. see at: http://www.umich.edu/~cisdept/mba/CIS745/balloon.animation.gif 4/22/2019 Prof. Sheizaf Rafaeli

Lossy compression 4/22/2019 Prof. Sheizaf Rafaeli

Animation compression SHIFT the existing pixels or DESCRIBE only the NEW PIXELS from one frame to another see at: http://www.umich.edu/~cisdept/mba/CIS745/beach-ball.animation.gif 4/22/2019 Prof. Sheizaf Rafaeli

Text format files ASCII .TXT, Microsoft’s .DOC, Wordperfect’s .WP , UNICODE... Rich Text Format (RTF), Postscript, Adobe’s PDF 4/22/2019 Prof. Sheizaf Rafaeli

Audio formats MIDI .WAV, .AU, AIFF Real Audio (streaming) MP3 PLJ 4/22/2019 Prof. Sheizaf Rafaeli

Video formats Sample size, sample rate Frames per second .asf .rm .ra .avi .mpg .qt .vdo .viv .mpeg 4/22/2019 Prof. Sheizaf Rafaeli

Video formats: MPEG MPEG (pronounced EHM-pehg), the Moving Picture Experts Group, develops standards for digital video and digital audio compression. 4/22/2019 Prof. Sheizaf Rafaeli

http://www.mpeg.org/MPEG/ : MPEG Pointers and Resources http://www.ora.com/centers/gff//gff-faq/gff-faq1.htm: Graphic File Formats FAQ http://www.faqs.org/faqs/jpeg-faq and http://www.faqs.org/faqs/compression-faq/part1/preamble.html : Image compression FAQs http://www.mpeg.org/MPEG/ : MPEG Pointers and Resources http://whatis.com/ff.htm Every File Format in the World http://www.matisse.net/files/formats.html Common Internet File Formats 4/22/2019 Prof. Sheizaf Rafaeli