Binary 4 File Sizes.

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Chapter 4: Representation of data in computer systems
Computer Systems Nat 4/5 Data Representation Lesson 4: Storing Graphics.
Chapter 2 Digital data Ola A. Younis. Elements of digital media Symbols : representation for something else. Example: a group of letters often serve as.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Copyright 2003 Monash University IMS5401 Web-based Information Systems Topic 2: Elements of the Web (d) Digital representation.
Bitmapped Images 27 th November 2014 With Mrs
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
Higher Computing Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Multimedia def. Many forms Multimedia Text Hyperlinks Images Audio Animation Video Text Hyperlinks Images Audio Animation Video.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Chapter 2 Computer Hardware
Images Data Representation. Objectives  Understand the terms bitmap & pixel  Understand how bitmap images are stored using binary in a computer system.
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Types of Data. Numbers Text Pictures Sound Video.
Image Representation. Objectives  Bitmaps: resolution, colour depth and simple bitmap file calculations.  Vector graphics: drawing list – objects and.
File Sizes & Storage Requirements.  An image has a width in pixels and a height in pixels  Start by calculating the number of pixels all up  640 x.
Week One Raster & Vector Formats. 2 Computer Graphics Vector Graphics Pictures are produced via a series of ‘draw commands’ These commands will draw short.
Revision – part one. Starter – keywords... Revision list Data Representation Units of data.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
CS1033 Pixel and Resolution
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
COMPUTER GRAPHICS. Can refer to the number of pixels in a bitmapped image Can refer to the number of pixels in a bitmapped image The amount of space it.
Advanced AV Production Practicum Math for The Audio Video Professional Calculating Audio and Video File Sizes Copyright © Texas Education Agency, 2015.
Graphics in a computers memory How a picture (i.e. a graphic) is stored in a computers memory A computer screen is made up of little dots, called PICture.
Units Representation of Data in Computer Systems.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Bitmap Graphics Graphics. Graphics L2 Bitmap Graphics Learning Objectives Understand how a bitmap graphic is made up of individual pixels Understand that.
Advanced AV Production Practicum Math for The Audio Video Professional Calculating Single File Sizes Copyright © Texas Education Agency, All rights.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
OBJECTIVE AND OUTCOMES Objective: To be able to create images in binary format and understand the part metadata plays in recreating images. Outcomes:
Technique Worked Example – Data Representation. Overview -What are the possible subgoals for file size calculation problems? -Exploring an example of.
Text and Images Key Revision Points.
Computer Systems Nat 5 Computing Science Data Representation
Unit 2.6 Data Representation Lesson 3 ‒ Images
Data Representation: Sound
Image and Sound Representation
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Images Data Representation.
Data Representation Images.
© 2003, Cisco Systems, Inc. All rights reserved.
Representing images.
Denary to Binary Numbers & Binary to Denary
Data representation – Sound.
Computer Systems Nat 4/5 Data Representation Lesson 4:
Memory Parts of a computer
Intermediate 2 Computing
3 - STORAGE: DATA CAPACITY CALCULATIONS
Web Design and Development
CS 115: Computing for The Socio-Techno Web
Data Representation Keywords Sound
Representation of Data in Computer Systems
Images in Binary.
Representing Images 2.6 – Data Representation.
Summer Term Year 10 Slides
Representing Sound 2.6 – Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation
Computer Systems Nat 4/5 Data Representation Lesson 4:
Can you calculate the actual file size of a computer image
Technology 3 Bits & Bytes.
WJEC GCSE Computer Science
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Year 8 Unit 2 Bitmap Graphics
Presentation transcript:

Binary 4 File Sizes

Calculating File Size: Images An image has a width in pixels and a height in pixels Start by calculating the number of pixels all up 640 x 480= 640 wide 480 high

Calculating File Size: Images An image has a width in pixels and a height in pixels Start by calculating the number of pixels all up 640 x 480= 307,200 pixels 640 wide 480 high

Calculating File Size: Images For each pixel in the picture we need to specify a particular colour from a range of possible colours. We can give either: The colour depth e.g. 24-bit colour The number of colours e.g. 16 million colours (224=16,777,216)

Calculating File Size: Images Number of colours If the image is plain black and white (no grey) then it uses 1 bit to represent each pixel How many bits are needed to represent 16 colours? How many bits are needed to represent 256 colours?

Calculating File Size: Images Number of colours If the image is plain black and white (no grey) then it uses 1 bit to represent each pixel How many bits are needed to represent 16 colours? 24= 16  4 bits How many bits are needed to represent 256 colours? 28 = 256  8 bits

Calculating File Size: Images So to calculate the file size we multiply the number of pixels by the number of bits to represent each pixel 640 x 480= 307,200 pixels Using 16 colours = 4 bits 307,200 x 4 = 1, 228, 800 bits

Calculating File Size: Images To convert 1, 228, 800 bits to kilobytes… There are 8 bits in a byte: 1, 228, 800 bits / 8 = 153, 600 bytes There are 1000 bytes in a kilobyte 153, 600 bytes / 1000 = 153.6 kB To convert megabytes, we would divide by 1000 again.

Calculating File Size: Images In MB what is the file size of: An image 640 x 480 in 24 bit colour? An image 1280 x 720 using 1024 colours?

Calculating File Size: Images In MB what is the file size of: An image 640 x 480 in 24 bit colour? 640 x 480 x 24 = 7, 372, 800 bits 7, 372, 800 bits /8 = 921, 600 bytes 921, 600 bytes /1000 = 921.6 kB 921.6kB /1000 = 0.92MB An image 1280 x 720 using 1024 colours? 1280 x 720 x 10 = 9, 216, 000 bits 9, 216, 000 bits /8 = 1, 152, 000 bytes 1, 152, 000 bytes /1000 = 1152 kB 1152 kB /1000 = 1.15MB

Calculating File Size: Sound To calculate the size of a sound file we multiply the: Time length of the audio clip: 20 second The rate at which it was sampled: 4 kHz (remember that kilo means 1000!!) The audio quality: 8 bit audio 20 seconds x (4KHz x 1000)hertz x 8 bit =

Calculating File Size: Sound 20 seconds x (4KHz x 1000)hertz x 8 bit = 640, 000 bits 640, 000 bits /8 = 80, 000 bytes 80, 000 bytes /1000 = 80 kB

Calculating File Size: Sound In MB what is the file size of: A 60 second audio clip, sampled at 44KHz, using 16 bit audio? A 1.5 minute audio clip, sampled at 96KHz, using 24 bit audio?

Calculating File Size: Sound In MB what is the file size of: A 60 second audio clip, sampled at 44KHz, using 16 bit audio? 60 x 44000 x 16 = 42,240,000 bits 42,240,000 bits /8 = 5,280,000 bytes 5,280,000 bytes /1000 = 5,280 kB 5,280 kB / 1000 = 5.28 MB A 1.5 minute audio clip, sampled at 96KHz, using 24 bit audio? 90 x 96000 x 24 = 207,360,000 bits 207,360,000 bits /8 = 25,920,000 bytes 25,920,000 bytes / 1000 = 25,920 kB 25,920 kB / 1000 = 25.9 MB