Top Banner
Web Web Graphics Graphics
15

Web Graphics

Jan 20, 2016

Download

Documents

betha

Web Graphics. Colours and Display. Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color. One bit black and white display. Pixels and colour (continued). Pixels and colour (continued) 8-bit or 256 colour displays. Pixels and colour (continued) - 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: Web Graphics

Web GraphicsWeb GraphicsWeb GraphicsWeb Graphics

Page 2: Web Graphics

Colours and Display• Graphics and Modems

• 28.8kbps = 3.6 KB per second• 36 KB takes 10 seconds to load.

• Pixels and color

Page 3: Web Graphics

• Pixels and colour (continued)

One bit black and white display

Page 4: Web Graphics

• Pixels and colour (continued)– 8-bit or 256 colour displays

Page 5: Web Graphics

• Pixels and colour (continued)– 24-bit “true colour” displays

Page 6: Web Graphics

• Pixels and colour (continued)

256 colours - “palette” “index” or CLUT (colour look up table”

True-colour or 24-bit images - each bit has 24 bits dedicated to it, usually in three layers.

Page 7: Web Graphics

Graphic file format• GIF files – Graphic

Interchange format.• 256 colours• GIF File

compression• Lempel Zev Welch

LZW - lossless• Squeezes out

inefficiencies in data storage eg large areas of same colour.

Page 8: Web Graphics

• Non-interlaced GIF– downloads one line of pixels at a

time

• Interlaced– stored in a format that allows

browsers to begin with low resolution

Page 9: Web Graphics

JPEG• Joint Photographic Experts Group• 24 bit or true colour• used when colour fidelity is

paramount• degree of compression=degree of

quality• JPEG discards “unnecessary” data

- lossy image technique

Page 10: Web Graphics
Page 11: Web Graphics

JIF

JPG Medium quality

JPG Low quality

Page 12: Web Graphics

Uses for GIF and JPEG– JPEG - complex photographic

illustrations etc where compression does not degrade image quality.

– Advantages of GIF• All graphics Web viewers support the

GIF format• GIFs of diagrammatic images look better• GIF supports transparency and

interlacing

Page 13: Web Graphics

• huge compression ratios for faster downloads

• Gives excellent results for photographs and medical images

• Supports full-colour images (24-bit “true colour” images)

Advantages of JPEG images

Page 14: Web Graphics

– Dithering• Full colour 24 bit graphic is converted to

a black and white. Dithering enables pixels of varying shades to be used to give the impression of fine detail. It can also be used in colour graphics. Dithering is very useful when more colours are needed than are available.

Page 15: Web Graphics

Questions• What is one major consideration when

displaying graphics on a web page?• How is colour typically displayed on a

computer?• Describe one advantage of GIF.• Describe one advantage of JPEG.• Why is dithering used?