Docsity

Graphics: Understanding Image Characteristics and Creating Image Maps, Slides of Computer Programming

Partial preview of the text

Download Graphics: Understanding Image Characteristics and Creating Image Maps and more Slides Computer Programming in PDF only on Docsity!

Working Graphics

Lecture Overview

 Formatting Text

 Understanding whitespace

Graphics (Characteristics 1)

 Images have various characteristics that

affect performance

Size (number of pixels) – Large images can be several megabytes  Color (bits per pixel) – The more colors, the larger the image  Compression – Algorithms exist to compress images without any loss of fidelity

Graphics (Characteristics 2)

 Interlacing – loads and renders alternating

lines to improve perceived performance

Image Maps (Creating)

 Use the element

 The **** element contains the name of the image file  The usemap attribute contains a bookmark  The **** element contains multiple **** elements  **** elements define the shape and the link visited when the area is clicked

Image Maps (Best Practices)

 They are a pain to create by hand

 You really need a tool to create these easily

 See

http://www.recreation.gov/browseMapsRecG

ov.do?topTabIndex=CampgroundMap