Image and Audio File Formats

Slides:



Advertisements
Similar presentations
Raster Graphics 2.01 Investigate graphic image design.
Advertisements

4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Raster graphics. Colour depth 01 1 bit pr pixel = 2 combinations (2 1 ): 2 bits pr pixel = 4 combinations (2 2 ): bits pr pixel = 16 combinations(2.
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
Graphics in the web Digital Media: Communication and Design
IT-Academic Technology Services Using Microsoft PowerPoint 2010 for Digital Storytelling.
Multimedia Contents Multimedia Graphics / Pictures Audio / Sound Video.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
Manipulating Images Image A visual representation of something that is seen in real life. It can be two-dimensional or three-dimensional A visual representation.
File Formats By Jack Turner. Raster (Bitmap) Raster or bitmap is a dot matrix data structure, containing columns of dots and rows, of a graphics image.
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Skill Area 212 Introduction to Multimedia Internet and MultiMedia for SC 2.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
Graphics and Multimedia Foundation Computing The beatings will continue until morale improves.
Computing in the Modern World BCS-CMW-7: Data Representation Wayne Summers Marion County October 25, 2011.
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
1 Image Formats. 2  To be able save image data for future manipulation and display we need to be able to store it in a consistent manner  Formats enable.
Digital Cameras And Digital Information. How a Camera works Light passes through the lens Shutter opens for an instant Film is exposed to light Film is.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Information Processes and Technology Multimedia: Graphics.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
File Format. Graphics file Format GIF (Graphics Interchange Format) JPEG (Joint Photographic Experts Group) PNG (Portable Network Graphics) TIFF (Tag.
Chapter 2 File Format Objectives (1 of 2) Identify the difference between vector based graphics and bitmap-based graphics Clarify bitmap and vector graphic.
File Format. Graphic file Format GIF –cross-platform compatibility –developed by CompuServe as a common format for exchanging bitmapped images between.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
File Analysis Dr. John P. Abraham Professor UTPA.
Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.
Raster Graphics 2.01 Investigate graphic image design.
Multimedia and weBLOGging Grade 7-9 | Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 04 – Audio Basic.
CSCI-100 Introduction to Computing Hardware Part II.
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.
Graphics Concepts Presentation
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
HTTP transaction with Graphics HTML file + two graphics files.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Part A Multimedia Production
2.01 Understand Digital Raster Graphics
Common Bitmap Image File Types
2.01 Understand Digital Raster Graphics
DIGITAL MEDIA FOUNDATIONS
Sampling, Quantization, Color Models & Indexed Color
2.01 Understand Digital Raster Graphics
Digital Video File Formats
Image Formats.
Chapter 3 Graphics and Image Data Representations
Multimedia: Digitised Sound Data
2.01 Investigate graphic image design.
Raster Images CPSC 1030.
2D Drawing Basics 1.
Look at Me Mod 4 Lesson 3 Graphics Module 4- Build a Game.
1.01 Investigate graphic types and file formats.
Graphics Basic Concepts.
Web Design and Development
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Final Study Guide Arts & Communications.
2.01 Understand Digital Raster Graphics
Multimedia System Image
2.01 Investigate graphic image design.
2.01 Investigate graphic image design.
Lesson 6 File Types.
Presentation transcript:

Image and Audio File Formats Digital Circuit Lab TA: Po-Chen Wu

Outline Audio File Formats Image File Formats

Audio File Formats

Introduction (1/3) An audio file format is a file format for storing digital audio data on a computer system. This data can be stored uncompressed, or compressed to reduce the file size.

Introduction (2/3) There are three major groups of audio file formats: Uncompressed audio formats, such as WAV and raw header-less PCM. Formats with lossless compression, such as FLAC and Windows Media Audio Lossless (WMA Lossless). Formats with lossy compression, such as MP3 and Windows Media Audio Lossy (WMA lossy).

Introduction (3/3) File Extension Creation Company Description wav Standard audio file container format used mainly in Windows PCs. AIFF Apple Standard audio file format used by Apple. mp3 MPEG Layer III Audio. Is the most common sound file format used today. wma Microsoft Windows Media Audio format. ra & rm Real-Networks A RealAudio format designed for streaming audio over the Internet.

WAV (1/2) Waveform Audio File Format (WAVE, or more commonly known as WAV due to its filename extension) is a Microsoft and IBM audio file format standard for storing an audio bitstream on PCs. It is the main format used on Windows systems for raw and typically uncompressed audio. LPCM is a particular method of pulse-code modulation which represents an audio waveform as a sequence of amplitude values recorded at a sequence of times. LPCM is PCM with linear quantization.

WAV (2/2) The usual bitstream encoding is the linear pulse-code modulation (LPCM) format. Both WAVs and AIFFs are compatible with Windows, Macintosh, and Linux operating systems. LPCM is a particular method of pulse-code modulation which represents an audio waveform as a sequence of amplitude values recorded at a sequence of times. LPCM is PCM with linear quantization.

可用free audio editor (like audacity)將聲音檔轉換至特定的sample rate & bits per sample (ex: 32kHz & 16 bits per sample) 再用free hex editor (like HxD) 把header(44 bytes)砍掉 剩下的raw data就可以拿來直接使用了 通常文字是big endian, 數字是little endian https://ccrma.stanford.edu/courses/422/projects/WaveFormat/

Endianness http://en.wikipedia.org/wiki/Endianness

Image File Formats

JPEG JPEG (Joint Photographic Experts Group) is a lossy compression method. The JPEG filename extension is JPG or JPEG. JPEG applies lossy compression to images, which can result in a significant reduction of the file size.

GIF GIF (Graphics Interchange Format) is limited to an 8-bit palette, or 256 colors. This makes the GIF format suitable for storing graphics with relatively few colors such as simple diagrams, shapes, and logos. The GIF format supports animation and is still widely used to provide image animation effects.

PNG PNG (Portable Network Graphics) is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for GIF, and is the most used lossless image compression format on the Internet.

BMP The BMP file format, also known as bitmap image file or simply a bitmap, is a raster graphics image file format used to store bitmap digital images. BMP files are uncompressed, hence they are large; the advantage is their simplicity and wide acceptance in Windows programs.

Usually 54 bytes 一樣用free hex editor (like HxD) 把header砍掉後就可以使用raw data 但是image與螢幕raster的方向是上下顛倒的 可以先將image上下翻轉後再讀取image raw data

BMP Image Data Format Pad row size to a multiple of 4 Bytes

Pixel Format The 8-bit per pixel (8bpp) format supports 256 distinct colors and stores 1 pixel per 1 byte. Each byte is an index into a table (palette) of up to 256 colors. The 16-bit per pixel (16bpp) format supports 65536 distinct colors and stores 1 pixel per 2 byte WORD. Each WORD can define the alpha, red, green and blue samples of the pixel (often 5.6.5 in RGB notation)). The 24-bit pixel (24bpp) format supports 16,777,216 distinct colors and stores 1 pixel value per 3 bytes. Each pixel value defines the red, green and blue samples of the pixel (8.8.8.0.0 in RGBAX notation). Specifically in the order (blue, green and red, 8- bits per each sample). X: unused 因為SRAM每個位置是16bit,所以用16bpp的格式很方便 而剩餘的bits可用內插補出 R = {SRAM_DQ[15:11], SRAM_DQ[15:13]}; G = {SRAM_DQ[10:5], SRAM_DQ[10:9]}; B = {SRAM_DQ[4:0], SRAM_DQ[4:2]}; 一般的bmp是24bpp,可用free image editor (like GIMP)轉成565格式

The End. Any question?

Reference http://en.wikipedia.org/wiki/Audio_file_format http://en.wikipedia.org/wiki/Image_file_formats http://en.wikipedia.org/wiki/BMP_file_format