Q4. Explain the various file formats used in multimedia systems.
[14 Marks]
Multimedia systems handle various types of data like images, audio, video, text, and animation. To store
and manipulate these different data types, multiple file formats are used. These formats differ in terms of
compression technique, compatibility, quality, usage, and efficiency.
1. Image File Formats
Image files are used to store digital pictures or graphics. Commonly used image formats are:
(a) JPEG (Joint Photographic Experts Group):
- Extension: .jpg , .jpeg
- Compression: Lossy
- Details: It reduces file size significantly by discarding some visual data that the human eye can’t easily
perceive. It is ideal for real-world images like photographs. However, repeated saving of JPEG files degrades
quality. - Use: Digital cameras, web images, online image sharing.
(b) PNG (Portable Network Graphics):
- Extension: .png
- Compression: Lossless
- Details: Retains original image quality with no loss. It supports transparency (alpha channel) and is
suitable for logos, illustrations, and web graphics. - Use: Website icons, screenshots, detailed images
needing transparency.
(c) BMP (Bitmap):
- Extension: .bmp
- Compression: Uncompressed or minimally compressed
- Details: Produces very large files with high-quality images. Each pixel is stored with its color value, leading
to large file sizes. - Use: Windows OS applications, image processing.
(d) GIF (Graphics Interchange Format):
- Extension: .gif
- Compression: Lossless but limited to 256 colors
- Details: Ideal for simple graphics and short animations. Supports transparency and looping animation. -
Use: Internet memes, banners, animated logos.
2. Audio File Formats
Audio file formats store sound data in digital form. Common types include:
(a) MP3 (MPEG Audio Layer-3):
- Extension: .mp3
- Compression: Lossy
1
- Details: Uses perceptual coding to remove inaudible parts of the audio, thus achieving smaller file sizes
while maintaining acceptable quality. - Use: Music streaming, podcasts, mobile ringtones.
(b) WAV (Waveform Audio File):
- Extension: .wav
- Compression: Typically uncompressed
- Details: Offers very high quality because it stores raw audio. Large in size. - Use: Professional audio
editing, broadcasting.
(c) MIDI (Musical Instrument Digital Interface):
- Extension: .mid , .midi
- Compression: Instruction-based format (very small size)
- Details: Doesn’t contain audio signals but digital instructions to recreate music. Dependent on
synthesizers. - Use: Music production, background music in games.
3. Video File Formats
These formats combine visual frames with audio tracks:
(a) MP4 (MPEG-4 Part 14):
- Extension: .mp4
- Compression: Lossy
- Details: Most popular format due to efficient compression, high quality, and wide support. Supports
subtitles, multiple audio tracks, etc. - Use: YouTube videos, mobile videos, digital streaming.
(b) AVI (Audio Video Interleave):
- Extension: .avi
- Compression: Varies (can be uncompressed or compressed)
- Details: Developed by Microsoft. Large file sizes if uncompressed but excellent quality. - Use: Archiving
high-quality video.
(c) MKV (Matroska Video):
- Extension: .mkv
- Compression: Lossy/variable
- Details: Open-source container. Supports multiple audio, subtitles, and metadata. - Use: HD movies, Blu-
ray rips.
4. Animation File Formats
(a) SWF (Shockwave Flash):
- Extension: .swf
- Compression: Vector-based
- Details: Supports interactivity, scripting (via ActionScript). Used to be common in websites but deprecated
due to security issues. - Use: Old web animations, online games.
2
(b) GIF:
- Use: Short, looping animations. Useful where high frame rate and color depth aren't critical.
5. Document & Web Formats
(a) PDF (Portable Document Format):
- Extension: .pdf
- Details: Maintains formatting across all platforms. Can include multimedia (audio/video), hyperlinks,
forms. - Use: Reports, manuals, e-books.
(b) HTML (HyperText Markup Language):
- Extension: .html , .htm
- Details: Used to create web pages. Can embed images, audio, video using tags. - Use: Web content
presentation, online apps.
Conclusion:
In multimedia systems, choosing the correct file format is crucial. Factors such as compression, quality,
compatibility, and platform support must be considered. Proper selection ensures optimized performance,
storage efficiency, and a better user experience in multimedia environments.