Standard File Formats

Similar documents
Elementary Computing CSC 100. M. Cheng, Computer Science

Example 1: Denary = 1. Answer: Binary = (1 * 1) = 1. Example 2: Denary = 3. Answer: Binary = (1 * 1) + (2 * 1) = 3

Advanced High Graphics

Flying Start AS Computer Science. September 2015

Digitization of Multimedia Elements

Final Study Guide Arts & Communications

Introduction to Computer Science (I1100) Data Storage

Different File Types and their Use

MEDIA RELATED FILE TYPES

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations.

Data Representation From 0s and 1s to images CPSC 101

Computing in the Modern World

Adding Modules.. 4 Editing a Rich Text Module Publishing a Module Adding Media (Picture, Audio, Video, and PDF) Adding Media from the web (Videos)

255, 255, 0 0, 255, 255 XHTML:

Digital Technologies Hangarau Matihiko Level 1

Common Technology Words and Definitions

More HTML. Images and links. Tables and lists. <h1>running in the family</h1> <h2>tonight 9pm BBC One</h2>

GRAPHIC FILE FORMATS / SOFTWARE SELECTION / SOFTWARE COMPATIBILITY

GCSE Computing. Revision Pack TWO. Data Representation Questions. Name: /113. Attempt One % Attempt Two % Attempt Three %

M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) DURATION: 03 Hrs

Multimedia Technology

Create subfolders for your audio files in each language.

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

Graphics File Formats

Atari Games - FTP Site Statistics. Top 20 Directories Sorted by Disk Space

Multimedia on the Web

DIS: Design and imaging software

Microcontroller Compatible Audio File Conversion

Topic 2 Data and Information. Data Data can be defined as a set of recorded facts, numbers or events that have no meaning.

IMAGE COMPRESSION USING FOURIER TRANSFORMS

Unit 2 Digital Information. Chapter 1 Study Guide

3 Data Storage 3.1. Foundations of Computer Science Cengage Learning

Unicode. Standard Alphanumeric Formats. Unicode Version 2.1 BCD ASCII EBCDIC

Prentice Hall. Learning Microsoft PowerPoint , (Weixel et al.) Arkansas Multimedia Applications I - Curriculum Content Frameworks

Stonelaw High School. Computing Science. BGE - Computer Systems

Creating and Editing Images in Paint Shop Pro Version XI. File Types

Introduction To Inkscape Creating Custom Graphics For Websites, Displays & Lessons

Gerald's Column by Gerald Fitton

Text can be defined as a combination of letters that form sentences or words to explain or discuss a topic which is known as text information.

Visual Land V TOUCH PRO

Camtasia Studio 5.0 PART I. The Basics

Lecture 19 Media Formats

Adobe InDesign Notes. Adobe InDesign CS3

Data Representation and Networking

BOCC NUT Content Guide

CHAPTER 10: SOUND AND VIDEO EDITING

CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS

CTIS 155 Information Technologies I. Chapter 5 Application Software: Tools for Productivity

ECDL Module 6 REFERENCE MANUAL

Digital Media. Daniel Fuller ITEC 2110

MILWAUKEE AREA TECHNICAL COLLEGE ONLINE APPLICATION INSTRUCTIONS

Revision 4.1.x /2.x.x [ ] Creating Media for Modulo Player & Kinetic

Various text document, image and media file formats and how to select and convert between them.

Representing Graphical Data

Uploading a File in the Desire2Learn Content Area

Digital Signage Content Creation Guidelines

Professional Powerpoint Presentation II

Interactive Multimedia. Multimedia and the World Wide Web

To add a graphic PC Shift right click while pointing at cell; Mac Command (apple) click on the cell. This will open up the Cell Properties

Genesis Webinar-To-Go Quick Reference Guide

Layout Basics For Non-Designers. xrocket Script, 36pt. Eeronauts, 400pt

How to use the open-access scanners 1. Basic instructions (pg 2) 2. How to scan a document and perform OCR (pg 3 7) 3. How to scan a document and

In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite.

Graphics in IT82. Representing Graphical Data. Graphics in IT82. Lectures Overview. Representing Graphical Data. Logical / Physical Representation

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

MULTIMEDIA AND CODING

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Transcribing and Coding Audio and Video Files

ACD Systems at the hub of digital imaging... 1

Lecture #3: Digital Music and Sound

Binary representation and data

Image Types Vector vs. Raster

Image Optimisation. Image Dimensions...1 Image File Formats...2 Adding Images...5 Thumbnails...13 Summary...15

MULTIMEDIA DESIGNING AND AUTHORING

1. Make the recordings. 2. Transfer the recordings to your computer

2nd Paragraph should make a point (could be an advantage or disadvantage) and explain the point fully giving an example where necessary.

Windows 2000 Professional

1/27/2013. Outline. Adding images to your site. Images and Objects INTRODUCTION TO WEB DEVELOPMENT AND HTML

SCHOOL OF DISTANCE EDUCATION UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A INTRODUCTION TO MULTIMEDIA QUESTION BANK

INDESIGN AND PHOTOSHOP

The Environment Key windows often used in Director MX 2004 : Stage, Cast, Score, Properties Inspector, Control panel and message window.

Continuing our tour of File Explorer, in this lesson we will look at some more techniques for viewing and managing files on your computer.

Characterisation. Digital Preservation Planning: Principles, Examples and the Future with Planets. July 29 th, 2008

Concepts and basics Of Websites

Frequently Asked Questions about Text and Graphics

Standard Exponential Creative Specifications

Instruction Manual. idiskk USB Flash Drive 32GB/64GB/128GB

ivina BulletScan Manager

Lava New Media s CMS. Documentation Page 1

FA269 - DIGITAL MEDIA AND CULTURE

Discovering Shropshire s History Help sheet 2 How to upload a resource Author: Owner: Client: Document Number: Version 2 Release Date: February 2007

Objectives. Connecting with Computer Science 2

Working with Images and Multimedia

MULTIMEDIA APPLICATIONS I ARKANSAS CAREER AND TECHNOLOGY EDUCATION, BUSINESS/MARKETING TECHNOLOGY, MULTIMEDIA APPLICATIONS I

Social Issues. spam Espionage forgery access to your data years from today destroying old records/ data

Instructional Overview. Module 1: Technology Concepts - Part 3: Technology Terms

QuickTime Pro an inexpensive (but clunky) solution

Introducing working with sounds in Audacity

CamGuard Security System CamGuard Security System Manual

SP xdrive Explorer. User Manual

Transcription:

Standard File Formats Introduction:... 2 Text: TXT and RTF... 4 Grapics: BMP, GIF, JPG and PNG... 5 Audio: WAV and MP3... 8 Video: AVI and MPG... 11 Page 1

Introduction You can store many different types of information on your computer: text, graphics, audio video etc. The computer needs to know what application to use when you click on a file to open it, and this is done by adding a dot and a three letter extension to the filename. This extension tells the operating system what kind of file it is, and the operating system uses this information to select the icon for the file, and to use the correct application to open it. Usually extensions are hidden for the user, but you can see the extensions on your file names by right clicking on the file and choosing properties. Open up Notepad and type in a sentence. Save the file with the name Text1.gif Including the quotes Open the folder where you saved your file. What icon does the file have? What happens when you try and open the file? Try saving the file again using the following names: Text1.xls Text1.doc And check to see what icon the files now have Finally save the file as Text1.txt and the file will be saved with the normal notepad icon. Page 2

A standard is an agreement that has been made between organisations or between countries about how they should do something, to make it easier to share information or to use equipment. For instance in the UK we have a standard mains plug which everyone uses.. There is no standard worldwide telephone connection standard, so if you want to use a dial-up modem abroad, this is what you need: It makes sense to have a standard file format for types of information on computers because nowadays most computers are connected together by the Internet, and people need to be able to view and share files across the world no matter what type of computer they are using or what software they are using to read the file. You are going to investigate the standard file formats for: Text Graphics Audio Video Page 3

Text: TXT and RTF The simplest file format for text is ASCII code. This is an 8 bit code which can store each character on the keyboard using only 8 bits for each one. Each character takes up 1 byte (a bit is a single on or off,8bits = 1 byte) The file extension for an ASCII code document is TXT Start up Notepad and type in a short sentence. Don t press enter at the end of the line. Count the characters in the sentence, including spaces and the full stop. Save the file. Right click on the file and choose Properties to look at the file size. What do you notice? Word processors store a lot more information than just the text in a document. They store details of font and font size, margin widths, page orientation and much more. Microsoft Word stores files in DOC format. Copy and paste the text from your notepad file into a word document and save it. Right click on the file and choose Properties to look at the file size. What do you notice? Right click on the word document and from the open with menu, choose notepad. Can you find the text from the notepad file? What other information can you se? There are many different word processors and they all store their information in different file formats. Because of this a common file format was designed which all word processors can read. It is the Rich Text Format or RTF. Save your word file as an RTF document using the Save as Type option. Right click on the file and choose Properties to look at the file size. What do you notice? Right click on the RTF document and from the open with menu, choose notepad. Can you find the text from the notepad file? Page 4

Graphics: BMP, GIF, JPG and PNG There are a number of different graphics file formats. The ones you are going to investigate are all Bitmap graphics files. A bitmap is where the graphic image is stored as a series of 1s and 0s corresponding to the pixels in the image. The following bits in a computer's memory are the pixels of a 10 x 10 grid, with 0 representing black and 1 representing white. 1100000111 1000000011 0011111001 0100100101 0111011101 1011111011 1010001011 1101110111 1110001111 1101110111 Draw out a 10 x 10 grid, and work out what the computer graphic is. How much space in the computer s memory would this graphic take up? (remember 1 byte = 8 bits) A computer has a screen which displays a picture 1600 pixels wide and 1200 pixels deep. How much memory would it need in kilobytes (1 kb = 1024 bytes) Compression: Graphics files tend to be very large, especially if they are stored as bitmaps. This means that they take a long time to download if they are on a web page.. For this reason most graphics file formats are compressed. A simple compression method is to look for a pattern which is repeated and then just store how many times it appears rather than a copy each time. For example a large blue rectangle could be stored as the code for a single blue pixel and then the number which tells the graphics program how many there are. GIF and PNG are two bitmap file compression formats. Both use lossless compression which means that no information is lost when they are uncompressed again. Create a graphic using Microsoft Paint which is a single colour rectangle and save it as a BMP file. Now save it again in the GIF format and again in the PNG format. Right click on the files and choose Properties to look at the file sizes. What do you notice? Page 5

Colour Depth: The colour depth of a graphic is a measure of how many possible colours can be represented. The larger the number of bits used to store each pixel, the larger the number of colours can be represented. 1 bit per pixel = 2 colours (black and white) 2 bits per pixel = 4 colours 4 bits per pixel = 8 colours 5 bits per pixel = 16 colours etc GIF uses 8 bits per pixel which gives a possible 256 colours PNG uses 24 bits per pixel which gives a possible 16 million colours (16777216) Compare the sizes of your GIF and PNG files again and see if the PNG file is larger even though it is storing the same information. Why is the PNG file larger? If you increase the colour depth of a graphic then you increase the amount of storage space it will need. Resolution: The resolution of a graphic image is the number of pixels per square inch. The more pixels per square inch, the higher the resolution and the higher quality the picture. The higher the quality the picture, the more storage space it will take up because more pixels will have to be stored. If you increase the resolution of a graphic then you increase the amount of storage space it will need. Find out what resolution and colour depth your computer display is using and work out how much storage space it would need if you were to save it as an uncompressed bitmap. Page 6

Lossy compression: Photographic images tend to be very large indeed. The file format used by digital cameras is JPG which is a format which allows you to choose how good a quality image you want. This example from Wikipedia shows the effect of different quality settings. A photo of a cat with the compression rate decreasing, and hence quality increasing, from left to right The JPG file format is lossy, which means that some of the information on the original picture will be lost when it is uncompressed again. Watch the video on JPG iteration in the shared documents folder to see what happens if you repeatedly compress and decompress a JPG file. Open the single colour rectangle which you saved as a BMP file, and this time re-save it as a JPG file Right click on the files and choose Properties to look at the file sizes. What do you notice when you compare it with the other formats? Open a photographic image in Microsoft Paint and try saving it in the 4 different graphic file formats: BMP, GIF, PNG and JPG Compare the file sizes. What do you notice? When to use GIF PNG or JPG? The GIF and PNG formats are best for computer generated images. The JPG format is best for photographic images. because they are all compressed formats, they are used on web pages so that they load quickly. GIF uses less colours than PNG, but can be used to make animated images. JPG formats use lossy compression, but have a much larger range of colours. Page 7

Audio: WAV and MP3 Audio files are very large an audio CD stores around 800mB of data which can hold around 90 minutes of music. In order to save sound to a computer it needs to be converted to a digital signal. This is done by taking a sample every fraction of a second and storing this as a digital value. The number of samples taken every second is called the sample rate is measured in Hertz and the sample size is measured in bits. The higher the sample rate and the bigger the sample, then the higher the quality of the recording. A WAV file is an example of an audio file recorded in this way. Page 8

Make a recording using Audacity Edit the file so that it is exactly 5 seconds long. Highlight then delete Export the file as a WAV file Change the settings for the Sample rate and the Sample size Now make another recording with the new settings and export the file as a WAV file. What difference does the change in the recording settings make to the file size? Page 9

The MP3 file format is a standard compressed format for audio files and is used by many personal stereos. The MP3 file format uses lossy compression. This means that some information is lost when it is uncompressed. Open one of your WAV files in Audacity and export it as an MP3 file What extra information can you add to the MP3 file? What difference does the compression make to the file size? Find out about the different bit rates (bits per second) that are used for MP3 files and what effect they have on the quality Page 10

Video: AVI and MPG Like audio, video takes up a large amount of storage space, and if you want to transmit video over the Internet you need to compress it. The AVI file format is the one which is created by digital video cameras. AVI files can be uncompressed, or compressed using a variety of compression systems called codecs The MPG file format is a compressed format for video. It uses a number of compression techniques including only transmitting data which changes from one frame to another and removing other information which is not perceived by the human eye. There are many other video file formats. Another common one is the MOV file format which is used by QuickTime. Investigate a number of video file formats and find out what kind of compression they use and what they are used for. Page 11