Top Banner
Multimedia & The World Wide Web winny HCI 201 Multimedia and the www
15

Multimedia & The World Wide Web

Jan 26, 2016

Download

Documents

Quảng

HCI 201 Multimedia and the www. Multimedia & The World Wide Web. winny. HCI 201 Multimedia and the www. Images. Three graphic file types are supported by today's browsers, although there r far more image format than those 3. GIF (AKA Compuserve GIF) - Graphic Interchange Format - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Multimedia & The World Wide Web

Multimedia & The World Wide Web

winny

HCI 201 Multimedia and the www

Page 2: Multimedia & The World Wide Web

Images

• Three graphic file types are supported by today's browsers, although there r far more image format than those 3.– GIF (AKA Compuserve GIF) - Graphic

Interchange Format – JPEG - Joint Photographic Experts Group – PNG - Portable Network Graphics

• http://www.libpng.org/pub/png/

winny

HCI 201 Multimedia and the www

Page 3: Multimedia & The World Wide Web

• GIF files are best used for images that have broad areas of flat color and are highly defined

• Supports transparency and animation- logos, icons, clip art images, etc.• Supports a maximum of 256 colors• Guidelines to keep GIF files small:

– Reduce the number of colors – Crop out extra space if possible

GIF (Graphics Interchange Format)

winny

HCI 201 Multimedia and the www

Page 4: Multimedia & The World Wide Web

GIF’s three tricks

• Interlacing- Top-to-bottom rendering vs. materializing

the image (pulling down a window shade vs. closing the blinds)

• Transparency- A portion of the image is transparent - Logos, icons, and dingbats

• Animation- A series of seq images contained in one GIF

winny

HCI 201 Multimedia and the www

Page 5: Multimedia & The World Wide Web

GIF

http://www.gifanimations.com/ http://www.gif.com/ http://www.gifworks.com/ http://www.animationfactory.com/animations/nature

winny

HCI 201 Multimedia and the www

Page 6: Multimedia & The World Wide Web

GIF

• Problem?

winny

HCI 201 Multimedia and the www

Page 7: Multimedia & The World Wide Web

JPEG

• Solution

winny

HCI 201 Multimedia and the www

Page 8: Multimedia & The World Wide Web

JPEG

• JPEG files are best used for images that require many colors such as photographs

• JPEG has a higher compression ratio but it is a "lossy" compression

• “Lossy” refers to data compression techniques in which some amount of data is lost. Lossy compression technologies try to eliminate redundant or unnecessary information

winny

HCI 201 Multimedia and the www

Page 9: Multimedia & The World Wide Web

JPEG (Joint Photographic Experts Group)

- Platform-independent- Adjustable degree of compression - Reduce the image size at the cost of quality- Use 16.7 M colors:

photographs, high-quality images.- Browser has to decompress the JPEG images

when rendering them

winny

HCI 201 Multimedia and the www

Page 10: Multimedia & The World Wide Web

Adjustable degree of compression (0-12)

• File size vs. quality

Size: 56 KB Size: 26 KB Size: 19 KBQuality: high Quality: Medium Quality: low

winny

HCI 201 Multimedia and the www

Page 11: Multimedia & The World Wide Web

Image processing

• Brightness • Contrast

winny

HCI 201 Multimedia and the www

Page 12: Multimedia & The World Wide Web

PNG

• PNG was developed as an alternative to GIF• Does not yet have broad-based browser or

image editor support• Has a lot of the same features as GIF• PNG also automatically adjusts graphics for

gamma correction to compensate for cross-platform differences in brightness and contrast

• Does not support animation, but images are lossless

winny

HCI 201 Multimedia and the www

Page 13: Multimedia & The World Wide Web

Image processing

• Color balance

MAGENTACYAN

GREEN BLUERED

YELLOW

winny

HCI 201 Multimedia and the www

Page 14: Multimedia & The World Wide Web

Image processing

• Original vs. visual effect

winny

HCI 201 Multimedia and the www

Page 15: Multimedia & The World Wide Web

Image processing

winny

HCI 201 Multimedia and the www