diwe - multimedia technologies

46
Diploma in Web Engineering Module II: Multimedia Technologies Rasan Samarasinghe ESOFT Computer Studies (pvt) Ltd. No 68/1, Main Street, Pallegama, Embilipitiya.

Upload: rasan-samarasinghe

Post on 19-Feb-2017

37 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: DIWE - Multimedia Technologies

Diploma in Web Engineering

Module II: Multimedia Technologies

Rasan SamarasingheESOFT Computer Studies (pvt) Ltd.No 68/1, Main Street, Pallegama, Embilipitiya.

Page 2: DIWE - Multimedia Technologies

Contents1. What are Graphics ?2. Digital Image Concepts3. Pixel4. Resolution of Images5. Resolution of Devices6. Color Depth7. Color Palette8. Dithering9. Bitmap and Vector Graphics10. Bitmap Graphics11. Vector Graphics12. Comparison13. Graphics File Formats14. Bit Map 15. Tagged Image File Format 16. Graphical Interchange Format 17. Join Picture Expert Group 18. Portable Network Graphics 19. Multi-image Network Graphics 20. Multimedia on Web

21. Animations22. Rollovers23. Animated GIF 24. Flash Files25. Audio26. Audio on Web Sites27. Audio File Formats28. MIDI29. WAVE30. MP331. AU32. AIFF33. Video34. Video File Formats35. AVI36. ASF37. MPEG38. QuickTime39. RealVideo40. Copyrights of Web Content

Page 3: DIWE - Multimedia Technologies

What are Graphics ?

Graphics are basically pictures and drawings either created by computer or entered into computers by scanning or photographing.

Page 4: DIWE - Multimedia Technologies

Digital Image Concepts

• Pixel• Resolution• Color Depth• Color Palette• Dithering

Page 5: DIWE - Multimedia Technologies

Pixel

In digital imaging a pixel is a single point in a raster image or the smallest addressable

element in a display device.

Page 6: DIWE - Multimedia Technologies

Resolution of Images

Resolution is a term used to describe the number of pixels, used to display an image.

More pixels are used to create the image, resulting in a sharp and cleaner image.

Page 7: DIWE - Multimedia Technologies

Resolution of Devices

The Resolution term is most often used to describe monitors and printers as well.

For monitors, the screen resolution signifies the number of pixels on the entire screen.

Page 8: DIWE - Multimedia Technologies

Color Depth

Color depth also known as bit depth, is the number of bits used to indicate the color of a

single pixel.

Ex: in 8-bit color mode, uses 8 bits for each pixel, making it possible to display 256 different colors or shades of gray.

Page 9: DIWE - Multimedia Technologies

Color Depth

1 bit (2 colors) 2 bits (4 colors)

4 bits (16 colors) 8 bits (256 colors)

Page 10: DIWE - Multimedia Technologies

Color Palette

In computer graphics, a palette is the finite set of available colors.

Page 11: DIWE - Multimedia Technologies

Color PaletteWeb Safe Colors Palette

Page 12: DIWE - Multimedia Technologies

Dithering

Dithering is creating the illusion of new colors and shades by varying the pattern of dots.

Different shades of gray are produced by varying the patterns of black and white dots.

There are no gray dots at all.

Creating purple color with using red and blue pixels.

Page 13: DIWE - Multimedia Technologies

Dithering Illustrated

Original photo. note the smoothness in the detail. Depth is reduced to a 16-color palette, with no dithering.

Uses the 16-color palette, with use of dithering.

Page 14: DIWE - Multimedia Technologies

Bitmap and Vector Graphics

Page 15: DIWE - Multimedia Technologies

Bitmap Graphics

Bitmap images (raster images) are made up of pixels in a grid.

The value of each pixel is stored in bits of data.

Page 16: DIWE - Multimedia Technologies

Vector Graphics

Vector graphics are described using mathematical definitions that define all the shapes in the image.

Vector graphics are based on lines and curves which lead through control points.

Page 17: DIWE - Multimedia Technologies

Comparison Between Bitmap and Vector

Bitmap Graphics Vector GraphicsBecome ragged when you shrink or enlarge them

Look the same even when you scale them to different sizes

Use less processing power than vectors

Use more processing power than bitmaps

Made up from pixels Made up from points, lines and curves based on mathematical expressions

Individual elements cannot be grouped

Individual elements can be grouped

Created by using Paint Programs Created by using Drawing ProgramsTake up more memory than vectors Take up less memory than bitmaps

Page 18: DIWE - Multimedia Technologies

Graphics File Formats

• Bit Map (BMP)• Tagged Image File Format (TIFF)• Graphical Interchange Format (GIF)• Join Picture Expert Group (JPEG)• Portable Network Graphics (PNG)• Multi-image Network Graphics (MNG)

Page 19: DIWE - Multimedia Technologies

Bit Map (BMP)

• The standard bit-mapped graphics format used in the Windows environment.

• Typically, BMP files are uncompressed.

• Simple and has a wide acceptance in Windows programs.

Page 20: DIWE - Multimedia Technologies

Tagged Image File Format (TIFF)

• A flexible format for storing bitmap images.

• Developed by Aldus Corporation (now part of Adobe Software).

• The TIFF format is widely supported by image-manipulation applications.

• Allows for a wide range of different compression schemes and color spaces.

• TIFF has not had a major update since 1992.

Page 21: DIWE - Multimedia Technologies

Graphical Interchange Format (GIF)

• Introduced by CompuServe in 1987.

• Limited to 256 colors scheme.

• Suitable for graphics with few colors such as simple diagrams, shapes, logos and cartoon style images.

• Uses a lossless compression.

• The GIF format supports animation (GIF89a).

• Supports with transparent backgrounds.

Page 22: DIWE - Multimedia Technologies

Join Picture Expert Group (JPEG)

• A commonly used method of lossy compression for digital images.

• Capable of much greater color depth (up to 24 bits), and best suited for photographs and complex graphics.

• The degree of compression can be adjusted, allowing to compromise between file size and image quality.

• JPEG 2000 is a new enhanced compression standard without compromising quality.

Page 23: DIWE - Multimedia Technologies

Portable Network Graphics (PNG)

• A bitmap graphic file format brings together best features of GIF and JPEG.

• Supports lossless compression and transparency like GIF.

• Supports high bit depth like JPEG.

• Does not support animations.

Page 24: DIWE - Multimedia Technologies

Multi-image Network Graphics (MNG)

• MNG is an extension to PNG published in 2001 that does support animations.

• It supports image transparency and better file compression than GIF.

• MNG is still not widely supported by web browsers.

Page 25: DIWE - Multimedia Technologies

Multimedia on Web

Multimedia is the integration of multiple form of media such as text, graphics, audio, video, etc.

Page 26: DIWE - Multimedia Technologies

Animations

An animation is a simulation of movement created by displaying a series of static images.

• Rollovers• Animated GIF• Flash Files

Page 27: DIWE - Multimedia Technologies

Rollovers

A Rollover is a section of a web page that is raised when the user moves the pointer over a

particular area.

Page 28: DIWE - Multimedia Technologies

Animated GIF (GIF89a)

A type of GIF image that can be animated by combining several images into a single GIF file

that are displayed in succession.

Page 29: DIWE - Multimedia Technologies

Flash Files

Flash is a vector based animation technology created by software Adobe Flash. Flash

animations are browser independent and often distributed in .swf file format.

Page 30: DIWE - Multimedia Technologies

Audio

• A term used to describe sound within the range of hearing.

• The playback quality of any sound recording is depend on the process and formats used to create it and quality of the output on the users system.

Page 31: DIWE - Multimedia Technologies

Audio on Web Sites

Audio on web pages can be delivered in two distinct ways.

1. Downloadable AudioAn audio file embedded in the webpage. Once the audio file was downloaded by user it can be played.

2. Streaming AudioThe user does not need to wait download and hear the audio. As soon as the connection made, a small buffer created and audio file begins to play.

Page 32: DIWE - Multimedia Technologies

Audio File Formats

• MIDI• WAVE• MP3• AU• AIFF

Page 33: DIWE - Multimedia Technologies

MIDI (Musical Instrument Digital Interface)

• A MIDI file contain data that control notes, pitch, length, volume all the details so a music synthesizer or audio card can decode it and make the right sounds.

• MIDI files are tiny, often 10K or less.

• There is no guarantee of exact tones when playing on different devices.

Page 34: DIWE - Multimedia Technologies

WAVE (Waveform Audio Format)

• A Wave file is an audio file format, created by Microsoft.

• They are generally kept as the first digital copy of a file completely uncompressed.

• The WAV files are substantially larger in size.

Page 35: DIWE - Multimedia Technologies

MP3 (MPEG audio layer 3)

• MP3 uses lossy compression algorithm to remove all superfluous data (The stuff the human ear doesn't hear anyway) to represent audio.

• An MP3 file that is created using the setting of 128 kbit/s will result in a file that is about 1/11 the size of the original file.

• An MP3 file can also be constructed at higher or lower bit rates, with higher or lower resulting quality.

Page 36: DIWE - Multimedia Technologies

Au

• The Au file format is a simple audio file format introduced by Sun Microsystems.

• Common format for sound files on UNIX machines.

• It is also the standard audio file format for the Java programming language.

Page 37: DIWE - Multimedia Technologies

AIFF (Audio Interchange File Format)

• The format was developed by Apple Computer and is the standard audio format for Macintosh computers.

• The AIFF format does not support data compression so AIFF files tend to be large.

Page 38: DIWE - Multimedia Technologies

Video

Video is an electronic medium for the recording, copying and broadcasting of moving visual

images.

Videos can be delivered on web in two distinct ways as Downloading or Streaming.

Page 39: DIWE - Multimedia Technologies

Video File Formats

• AVI• ASF• MPEG• QuickTime• RealVideo

Page 40: DIWE - Multimedia Technologies

AVI (Audio Video Interleave)

• AVI is a multimedia container format introduced by Microsoft in 1992.

• AVI files can contain both audio and video data in a file container that allows synchronous audio with video playback.

• AVI files are limited to 320 x 240 resolution, and 30 frames per second.

Page 41: DIWE - Multimedia Technologies

ASF (Advanced System Format)

• ASF is a Microsoft's proprietary digital audio/digital video container format.

• Its main purpose is to serve as an universal format for storing and streaming media.

Page 42: DIWE - Multimedia Technologies

MPEG (Moving Picture Experts Group)

• Used for coding audiovisual information in a digital compressed format.

• MPEG uses a type of lossy compression, since some data is removed. But the diminishment of data is generally imperceptible to the human eye.

• MPEG files are much smaller for the same quality.

Page 43: DIWE - Multimedia Technologies

QuickTime

• A video format developed by Apple that is used on the internet and other desktop applications.

• QuickTime movie files comes with the extension .mov or .qt

• To run QuickTime movies on windows, QuickTime player is required.

Page 44: DIWE - Multimedia Technologies

RealVideo

• RealVideo is a video compression format developed by RealNetworks.

• This format allowing streaming of video with low bandwidths and quality is often reduced.

• Have the file extensions .rm or .ram

Page 45: DIWE - Multimedia Technologies

Copyrights of Web Content

• Online respect of copyrights is basically an honor system. Everyone should ask permission before using another’s content.

• Creation of work in tangible and fixed form automatically establishes copyright.

• Whether you add the © copyright symbol to your website or not, you own the copyrights to your content.

• In addition, add a link to a copyright policy that further spells out your terms of use.

• To learn more about the copyright system in Sri Lanka visit National Intellectual Property Office website (http://www.nipo.gov.lk)

Page 46: DIWE - Multimedia Technologies

The End

http://twitter.com/rasansmn