Lossy Compression and File Formats

Slides:



Advertisements
Similar presentations
Information loss in compression Skills: none IT concepts: lossy and lossless compression This work is licensed under a Creative Commons Attribution-Noncommercial-
Advertisements

Graphics Ms. Brewer Spring Bellwork Edmodo – log on! Quiz? Take it if you need to! Policies and Procedures Powerpoint in Shared Folder! Get to Know.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Graphics and Images Communicating Information : Documents and Publications.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
Digital Image Formats: An Explanation Guilford County SciVis V
In this lecture, you will learn: 1 Basic ideas of video compression General types of compression methods.
Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
FILE TYPES FOR WEB DESIGN 1 HOW SHOULD I SAVE?. GRAPHICS INTERCHANGE FORMAT (GIF) Best used for flat-color, sharp-edged art or text Clip art, logos Compression.
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.
Write down the facts as they appear…
Comp 335 File Structures Data Compression. Why Study Data Compression? Conserves storage space Files can be transmitted faster because there are less.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
GIF vs. JPEG GIF and JPEG (JPG) image formats are different. You should know which to use when. Here are some examples.
Digital Image Formats: An Explanation Guilford County SciVis V
FILE COMPRESSION Lossy vs Lossless. Why compress a file? To save storage space. To speed up data transmission.
Lesson Objectives Aims You should be able to:
Component 1.9 Security and Data Management
AP CSP: Lossy Compression and File Formats
3.3 Fundamentals of data representation
JavaScript/ App Lab Programming:
Vocabulary byte - The technical term for 8 bits of data.
Week 1 October By Mrs. J. Leverette
Vocabulary byte - The technical term for 8 bits of data.
Lesson Objectives Aims You should be able to:
HTTP AND ABSTRACTION ON THE INTERNET
Lesson 1-15 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
UNIT 2 – CHAPTER 1 – LESSON 1 DIGITAL INFORMATION.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
Lesson 2-2 AP Computer Science Principles
Vocabulary byte - The technical term for 8 bits of data.
UNIT 2 – LESSON 4 Encoding Color Images.
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Unit 2- Lesson 1 & 2- Bytes and File Sizes / Text Compression
Unit 2- Lesson 1 & 2- Bytes and File Sizes / Text Compression
UNIT 2 – LESSON 2 TEXT COMPRESSION.
Lossy Compression and File Formats
U2L4 Encoding Color Images
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
CS Principles U2L3 Encoding B&W Images.
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
AP CSP: Lossy Compression and File Formats
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary byte - The technical term for 8 bits of data.
AP CSP: Bytes, File Sizes, and Text Compression
Vocabulary byte - The technical term for 8 bits of data.
LESSON 5 Module 4: Working with Images Image File Types.
File size and image quality
Digital Image Formats: An Explanation
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Data Representation.
CLAIM EVIDENCE REASONING
Representing Images 2.6 – Data Representation.
Compression, Lossy, Lossless
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Mastering File Compression Part #1
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Do Now! Convert the following sequence of bits into an image using the protocol we discussed (first 8 bits are lengthxwidth, Then fill in the rows pixel.
Computer Networks Lesson 4.
Unit 2- Lesson 1 & 2- Bytes and File Sizes / Text Compression
Real-World File Structures
Uppingham Community College
I wonder…2 _ 1 2 ? LearnZillion Notes:
LearnZillion Notes: --This is your hook. Start with a question to draw the student in. We want that student saying, “huh, how do you do X?” Try to be specific.
Presentation transcript:

Lossy Compression and File Formats UNIT 2 – LESSON 5 Lossy Compression and File Formats

This lesson is a little breather from the last few – they were huge This lesson is a little breather from the last few – they were huge!! Important, but huge!

Vocabulary Alert: Lossless: A compression scheme in which every bit of the original data can be recovered from the compressed file. Lossy: A compression scheme in which “useless” or less-than-totally-necessary information is thrown out in order to reduce the size of the data. The eliminated data is unrecoverable.

Objectives Students will be able to: Explain the difference between lossy and lossless compression. Identify common computer file types and whether they are compressed or not, and whether compression is lossy or lossless. Read a technical article on the web and sift its contents for targeted information.

With a partner, go to the Lossy Text Compression App - App Lab With a partner, go to the Lossy Text Compression App - App Lab. Answer the following questions: What is happening in the app? Should this “count” as text compression? Why or why not? What do you think “lossy” refers to?

Should the lab count as compression of text Should the lab count as compression of text? Iis true that the amount of text was reduced. However, the work of reconstructing was left to human intelligence and intuition.

We’ve been looking at image file formats We’ve been looking at image file formats. And we’ve also seen text compression. Both of those attempted to render perfectly every piece of information.

Both the image file format and the text compression scheme we used were lossless. Lossy compression schemes usually take advantage of the fact that a human is supposed to interpret the data at the other end, and human brains are good at filling the gaps when information is missing.

The Text Compression - Video (lossy in second half) video from a previous lesson also discusses lossy v. lossless

 Everyone gets a File Formats Rapid Research – Worksheet Get into pairs – we will split up the work today!

research the file format assigned to it and fill in one row of the table.

Get together with other groups and fill in your worksheet.

NOTE: The file extension you often see on a file (for example: myPhoto NOTE: The file extension you often see on a file (for example: myPhoto.jpg) is really just an indicator to the computer of how the underlying bits are organized, so the computer can interpret them. If you change the name of the file to myPhoto.gif, that does not magically change the underlying bits; all you’ve done is confuse the computer. It won’t be able to open the file because it will attempt to interpret the file as a GIF when really the bits are in JPG format.

All of these are specialized file formats in which some person or group decided how to organize (and in some cases, compress) the bits that make up the file type. There is nothing magical about them.

Do the matching in Code Studio using your worksheet Do the matching in Code Studio using your worksheet. Do the assessments/reflections. There is some homework to write about today.