Last time 3 main components to a computer system Types of computers Talked about software – task oriented What are some kinds of data that a computer works.

Slides:



Advertisements
Similar presentations
Data compression. INTRODUCTION If you download many programs and files off the Internet, we have probably encountered.
Advertisements

Information Representation
Lecture 6 Graphics, Number Systems. 7.2 Bit-map Graphics Similar to real painting on the canvas, there is no way to change something but paint over it.
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
Optimizing picture file size. Three things you can do to lower file size  Lower the resolution  Crop the picture  Save with a file format that uses.
Image Compression CSC CSC Computing with Images2 How do we use fewer bytes to encode the same or similar information? Reduce redundancy Take.
File Formats The most common image file formats, the most important for cameras, printing, scanning, and internet use, are JPG, TIF, PNG, and GIF.
Management Information Systems Lection 06 Archiving information CLARK UNIVERSITY College of Professional and Continuing Education (COPACE)
Graphics and Video File Types, Uses and Attributes Please take notes!
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.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Bits & Bytes: How Computers Represent Data
Institute of Technology Sligo - Dept of Computing Sem 1 Chapter 14: Layer 6 - The Presentation layer.
Chapter 2 Computer Hardware
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Data Compression. How File Compression Works If you download many programs and files off the Internet, you've probably encountered ZIP files before. This.
Text and Graphics September 26, Unit 3.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Introduction to Interactive Media 03: The Nature of Digital Media.
Communicating Quantitative Information Is a picture worth 1000 words? Digital images. Number bases Standards, Compression Will [your] images last? Homework:
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.
Quiz # 1 Chapters 1,2, & 3.
Graphics on the Web How much do you want to know?? Terry Griffin.
Data Representation Robin Burke IT 130. Outline Data Representation Binary Numbers Image types.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
POWERPOINT PLUS 11/17/07 Class Notes. WHAT IS A PIXEL A pixel is a number that represents the intensity of light at a square spot in the picture. Pixels.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
How Computers Work Part 3 18 February Data Types  Computer doesn’t know what the bits represents or what format is being used  Computer assumes.
GIF vs. JPEG GIF and JPEG (JPG) image formats are different. You should know which to use when. Here are some examples.
Introduction to Interactive Media Interactive Media Raw Materials: Digital Data.
Layer 6 Presentation Layer. Overview Now that you have learned about Layer 5 of the OSI model, it is time to look at Layer 6, the presentation layer.
Modul 2 Sifat Dasar Informasi Digital Mata Kuliah Preservasi Informasi Digital.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
Computer Performance & Storage Devices Computer Technology 1.
Part 1 File Formats Definition: A file format is a way to write the code of information for storage of an electronic file on a computer. Different software.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
2.01 Investigate graphic image design.
Graphic Format Factors
8th Lecture – Intro to Bitmap or Raster Images
Component 1.9 Security and Data Management
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
Vocabulary byte - The technical term for 8 bits of data.
4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because.
Graphic Format Factors
Binary Representation in Audio and Images
How to Convert Pictures into Numbers
Lesson Objectives Aims You should know about: 1.3.1:
Graphics Bitmap Vector
Bits & Bytes How Computers Represent Data
Introduction to Computers
File Compression-overview
Graphic Format Factors
2.01 Investigate graphic image design.
Graphic Format Factors
2.01 Investigate graphic image design.
Graphic Format Factors
2.01 Investigate graphic image design.
Graphic Format Factors
Graphic Format Factors
Compression.
2.01 Investigate graphic image design.
Graphic Format Factors
Presentation transcript:

Last time 3 main components to a computer system Types of computers Talked about software – task oriented What are some kinds of data that a computer works with?

Binary Data Binary is what HOW the data is represented. Binary refers to 0s and 1s

Binary number system Why do we use binary number system in a computer system? Size of data –For every byte, there are 8 bits –Bit = 0 or 1 –Byte = 8 bits

How we measure bytes? Use the prefix: Kilo Mega Giga tera A computer has a 20 gig hard drive = about 20 billion bytes

What a byte can represent: The same byte can represent multiple things: The number 67 The letter ‘C’ A small fraction of a sound, like a song (many sound parts make up the song) A small pixel in a graphic or video (many dots make up the picture) A small step in a computer program What is this language?

What is ASCII? What does it stand for? Definition: How it works – the translation

Benefits of ASCII low susceptibility to viruses or worms to the text only format. No variance in binary representation of data (global )

Bits and Bytes We can count in binary 0 = = = = = = = Etc…

Representing Data In Bytes

characters Translate binary to a word in English

GRAPHICS- Color Representation In simple graphics a byte can represent a single pixel grayscale imagery 1 byte can hold 256 differ shades of gray White = Black =

Color Representation– ASCII Modern video games and colorful graphics use several bytes for each pixel (Nintendo 64 uses 8 bytes = 64 bits for each pixel to get a huge array of possible colors).

Pictures Num of bytes per pixel matters! –Why do you think that is?

Bit Map What is a bit map? Why do we care?

Formats for differ images For graphics, there are several standards or formats for pictures.

.JPG &.GIF The two most common by far are GIF and JPG files Both of these formats encode static bitmap images. Why do we see so much of these formats?

.JPG &.GIF differences In a bitmap image, the image file has to define the exact color of every pixel in the image For example, a bitmap on the web is (typical) 400 by 400 pixels. What problems do you see with this?

Compression When downloading files off the Internet, you've probably encountered ZIP files –Suffit for MAC OS users, WinZip for Windows users –Both expand/compress files on command without compromising the integrity of the original file or end result This compression system is a very handy invention Why is it important to compress files?

How it works: –Finds redundancy and eliminates it– Most types of computer files are fairly redundant –In John F. Kennedy's 1961 inaugural address, he delivered this famous line: –"Ask not what your country can do for you -- ask what you can do for your country.“ –"ask" appears two times –"what" appears two times –"your" appears two times –"country" appears two times –"can" appears two times –"do" appears two times –"for" appears two times –"you" appears two times

File compression uses an adaptive dictionary- based algorithm to shrink files –Creates a new local dictionary, and uses a number system to identify info. Dictionary 1.ask 2.what 3.your 4.country 5.can 6.do 7.for 8.you new phrase : "1 not " When sending/compressing file, the actual dictionary file is saved along with the new phrase representation.

.GIF File Compression In a GIF image, the number of colors is reduced to 256 and then "runs" of same-color pixels are encoded in a color+numberOfPixels format..GIF’s algorithm example

JPG File Compression Different kind of algorithm (mathematical formula to solving a computer problem) In compressing a JPG file, JPG plays with the quality of the file in reducing its size.

Downside to Compression Quality. Quality can be lost since it is an approximation of the picture which is being saved when compressing