www, web design, multimedia winny wang image types

12
WWW, Web Design, Multimedia Winny Wang Image Types

Upload: neal-simon

Post on 19-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: WWW, Web Design, Multimedia Winny Wang Image Types

WWW, Web Design, Multimedia

Winny Wang

Image Types

Page 2: WWW, Web Design, Multimedia Winny Wang Image Types

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/

Images

Page 3: WWW, Web Design, Multimedia Winny Wang Image Types

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)

Page 4: WWW, Web Design, Multimedia Winny Wang Image Types

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

GIF’s three tricks

Page 5: WWW, Web Design, Multimedia Winny Wang Image Types

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

GIF

Page 6: WWW, Web Design, Multimedia Winny Wang Image Types

Problem?

GIF

Page 7: WWW, Web Design, Multimedia Winny Wang Image Types

Solution

JPEG

Page 8: WWW, Web Design, Multimedia Winny Wang Image Types

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

JPEG

Page 9: WWW, Web Design, Multimedia Winny Wang Image Types

- 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

JPEG (Joint Photographic Experts Group)

Page 10: WWW, Web Design, Multimedia Winny Wang Image Types

File size vs. quality

Adjustable degree of compression (0-12)

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

winny

Page 11: WWW, Web Design, Multimedia Winny Wang Image Types

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

PNG

Page 12: WWW, Web Design, Multimedia Winny Wang Image Types

Adjusting image: level/contrast Color correction Recrop, resize images Image filters. Create depth of field Anti-alias

Image processing