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.

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.
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.
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
How Images are Represented Bitmap images (Dots used to draw the image) Monochrome images 8 bit grey scale images 24 bit colour Colour lookup tables Vector.
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.
Computer Logic Distinction between analogue and discrete processes and quantities. Conversion of analogue quantities to digital form. Using sampling techniques.
Higher Computing Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
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.
Week One Raster & Vector Formats. 2 Computer Graphics Vector Graphics Pictures are produced via a series of ‘draw commands’ These commands will draw short.
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.
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
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.
National 4 and National 5 Computer Science. National 4 Computing Science 2 units: Software Design and Development Information System Design and Development.
Text and Images Key Revision Points.
Computer Systems Nat 5 Computing Science Data Representation
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.
Denary to Binary Numbers & Binary to Denary
Data representation – Sound.
Computer Systems Nat 4/5 Data Representation Lesson 4:
Memory Parts of a computer
Binary 4 File Sizes.
Intermediate 2 Computing
3 - STORAGE: DATA CAPACITY CALCULATIONS
CS 115: Computing for The Socio-Techno Web
Data Representation Keywords Sound
Representation of Data in Computer Systems
Binary Code  
Images in Binary.
Summer Term Year 10 Slides
Representing Sound 2.6 – Data Representation.
Computer Systems Nat 4.5 Computing Science Data Representation
Storage.
Binary System.
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
Year 8 Unit 2 Bitmap Graphics
Presentation transcript:

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 480= 640 wide 480 high

 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

 Each pixel in the picture represents a colour.  When referring to colours we will either say: X colours X-bit colour

 X 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?

 X 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? 2 4 = 16  4 bits How many bits are needed to represent 256 colours? 2 8 = 256  8 bits

 X-bit Colours 16 bit colour 24 bit colour (We are told the number of bits required to produce the colour)

 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

 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 1024 bytes in a kilobyte 153, 600 bytes / 1024 = 150 kB To convert megabytes, we would divide by 1024 again.

 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?

 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 /1024 = 900 KB 900KB /1024 = 0.88MB 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 /1024 = 1125 KB 1125 KB /1024 = 1.1MB

 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 =

640, 000 bits 640, 000 bits /8 = 80, 000 bytes 80, 000 bytes /1024 = 78.1 KB

 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?

 In MB what is the file size of: A 60 second audio clip, sampled at 44KHz, using 16 bit audio? 60 x x 16 = 42, 240, 000 bits 42, 240, 000 bits /8 = 5, 280, 000 bytes 5, 280, 000 bytes /1024 = 5, KB 5, KB /1024 = 5 MB A 1.5 minute audio clip, sampled at 96KHz, using 24 bit audio? 90 x x 24 = 207, 360, 000 bits 207, 360, 000 bits /8 = 25, 920, 000 bytes 25, 920, 000 bytes /1024 = 25, KB 25, KB /1024 = 24.7 MB

 Practice calculating file sizes by working through Binary Worksheet 2 in One Note. Notes: Yes you can use a calculator BUT you MUST show each step of the calculations to get full marks!!