Site Development Foundations © 2004 ProsoftTraining All rights reserved.

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques ©2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Advertisements

Iframes & Images Using HTML.
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
Chapter 5 Creating an Image Map.
Image Maps and Graphics Internet Basics and Far Beyond! Mrs. Wilson.
Designing a Web Page Working with Fonts, Colors, and Graphics.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
CIS101 Introduction to Computing HTML Project Two.
SVG Scalable Vector Graphics. What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines.
WHAT IS SVG?. SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines the graphics in XML format SVG.
Hyperlinks. Working with Linked Images  A standard practice on the Web is to turn the Web site’s logo into a hypertext link pointing to the home page.
Introduction to Computer Graphics
Web Design, 4 th Edition 5 Typography and Images.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Lecture 4 - Introduction to Computer Graphics
Colors, Images, & Image Maps. Working with Color Colors are defined in terms of RGB Triplet –Red, Green, Blue –0 to 255 in intensity –(00, 00, 00) is.
Building the User Interface by Using HTML5: Text, Graphics, and Media Lesson 2.
HTML Boot Camp: Rules and Images
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques.
1-1 OBJ Copyright 2003, Paradigm Publishing Inc. Dr. Joseph Otto Silvia Castaneda Christopher deCastro CSULA Macromedia Flash MX Introduction.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Chapter 5 Creating an Image Map.
Web111a_chapt03.ppt HTM: Section 3 Colors Selecting Colors Methods Color names Color values Color Names 16 Basic Color Names HTML 3.05, Figure 3-2 Extended.
Day 4.  Assignment 1 Due  Assignment 2 Posted Assignment 2 Posted  Due Feb 9:35 AM  3 8:30 AM  Today we will look at creating and using.
Images & Image Maps 16 th February. Images & Image Maps Web authors can add icons, logos and high impact images to their pages Images enhance web pages.
CHAPTER 4 LINKS Creating links between pages Linking to other sites links.
XP Tutorial 1 Introduction to Macromedia Flash MX 2004.
HTML Project 4 Creating an Image Map.
Creating Links – Lesson 31 Creating Links Lesson 3.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
Tutorial 1 Introducing Adobe Flash CS3 Professional
Project 2 Web Page Design Creating and Editing a Web Page Pages
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 3 This presentation © 2004, MacAvon Media Productions Introduction to Computer Graphics.
IT: Web Technologies: Web Animation 1 Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Designing Web Site Layout Using.
1 Scalable Vector Graphics (SVG). 2 SVG SVG is an application language of XML. “SVG is a language for describing two- dimensional graphics in XML. SVG.
10 | Graphics COM 366 Web Design & Production. Native file format –Format native to software program –psd > PhotoShop default Preserves layers –Use “Save.
Flash Adding Multimedia Content to Web Pages. What is it? A multimedia program Combines motion, graphics, sound, and interactivity in web page formats.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
COS 125 Day 4. Agenda Assignment 1 Due Assignment 2 Posted –Due Feb 9:35 AM Today we will look at creating and using images Examples –
 You can also divide an image into regions that link to different documents depending on where someone clicks.  This is called an imagemap, and any.
Adobe Dreamweaver CC: The Professional Portfolio Project 3: Photographer’s Web Site Working with static images Controlling backgrounds with CSS Working.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
+ Web Design Terminology Digital Communications III- Frameworks-2.1 Terminology HTML Domain Name Hot Spot Site Maps.
Glencoe Introduction to Web Design Chapter 8 Web Graphics 1 A bitmap file format that is used by scanners and graphics programs for use in print.
1 Mapping Coordinates Find the x- and y- coordinates for the images, relative to the x-axis and y-axis In a coordinate pair, the first number is the x-coordinate.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
Chapter 5.   A special type of inline image in which one or more areas is a hotspot (clickable) Image Map.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
WHAT IS SVG?. ESSENTIAL QUESTIONS What challenges do mobile devices present to Web designers? What are the basic concepts of responsive web design?
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Introducing Macromedia Flash 8
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
What is SVG?.
Inserting and Working with Images
Scalable vector graphics
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Introduction to Computer Graphics
Terms 1 Terms 2 Terms 3 Terms 4 Terms 5 1pt 1 pt 1 pt 1pt 1 pt 2 pt
Lesson 7: Video, Audio and Image Techniques
Creating an Image Map.
Module 05: Building ASP .NET Applications
Project 4 Creating an Image Map.
What is SVG?.
Presentation transcript:

Site Development Foundations © 2004 ProsoftTraining All rights reserved

Lesson 8: Image Techniques

Objectives Create client-side image maps Create client-side image maps Define rectangle, circle and polygon areas as hot spots in an image Define rectangle, circle and polygon areas as hot spots in an image Link defined areas to URLs Link defined areas to URLs Define image transparency Define image transparency Distinguish between GIF 87a and 89a formats Distinguish between GIF 87a and 89a formats Define image interlacing Define image interlacing Identify animated GIF and PNG image formats Identify animated GIF and PNG image formats

Graphic Types Vector Vector Graphics that use mathematical coordinates with lines, curves, shapes to create desired images and specify colorsGraphics that use mathematical coordinates with lines, curves, shapes to create desired images and specify colors Bitmap Bitmap Graphics that use small dots (usually thousands) to create an image and specify colorGraphics that use small dots (usually thousands) to create an image and specify color Also known as raster graphicsAlso known as raster graphics

Image Maps An image that contains hyperlinked, clickable regions, sometimes called “hot spots” An image that contains hyperlinked, clickable regions, sometimes called “hot spots” Each hot spot is defined by a set of coordinates (indicating its position on the image) and a URL reference Each hot spot is defined by a set of coordinates (indicating its position on the image) and a URL reference Two types of image maps: Two types of image maps: Client-side (the most common)Client-side (the most common) Server-side (rarely used)Server-side (rarely used)

Defining a Client-Side Image Map Define a map, assign it a name, and provide hot-spot coordinates Define a map, assign it a name, and provide hot-spot coordinates Coordinates can be determined using an image- editing application such as Paint Shop Pro Coordinates can be determined using an image- editing application such as Paint Shop Pro Refer to the image map by map name: Refer to the image map by map name: </map> Associate the image file with the map: Associate the image file with the map:

XHTML and the id Attribute In XHTML, the id attribute is required in the tag In XHTML, the id attribute is required in the tag Serves same purpose as the name attribute Serves same purpose as the name attribute If the id attribute is omitted, code will not validate If the id attribute is omitted, code will not validate

Defining Hot Spots Three shapes for hot spots: Three shapes for hot spots: RectangleRectangle CircleCircle PolygonPolygon

Rectangle Hot Spot Any two points can define a rectangle Any two points can define a rectangle Each point is represented by a horizontal (x) coordinate and a vertical (y) coordinate Each point is represented by a horizontal (x) coordinate and a vertical (y) coordinate Rectangles are defined by four coordinates representing the upper-left and bottom-right corners of the rectangle Rectangles are defined by four coordinates representing the upper-left and bottom-right corners of the rectangle Code:Code:

Circle Hot Spot Circles are defined by two coordinates and a radius Circles are defined by two coordinates and a radius Code:Code: The pair of coordinates specifies the circle's center The pair of coordinates specifies the circle's center A third number specifies the desired radius, or half-width, of the circle A third number specifies the desired radius, or half-width, of the circle

Polygon Defines an irregular area (neither a circle nor a rectangle) Defines an irregular area (neither a circle nor a rectangle) Specify coordinates for each point that defines the polygon, from three to 100 pairs of coordinates Specify coordinates for each point that defines the polygon, from three to 100 pairs of coordinates Code:Code:

Image Transparency Provides the visual effect of blending in to the background of the Web page Provides the visual effect of blending in to the background of the Web page Most developers use image transparency to remove the blank image background so it appears to float on the page Most developers use image transparency to remove the blank image background so it appears to float on the page Web-ready formats that support transparency: Web-ready formats that support transparency: GIF 89aGIF 89a PNGPNG

Image with No Transparency

Transparent PNG Image

Image Interlacing Allows an image to progressively display in a browser while downloading Allows an image to progressively display in a browser while downloading The image appears in stages during download (from top to bottom) The image appears in stages during download (from top to bottom) The top of a non-interlaced image will appear after the browser has read 50 percent of the image The top of a non-interlaced image will appear after the browser has read 50 percent of the image

Image Interlacing (cont’d)

Animation Several images in a sequence, rendered in rapid succession to simulate motion Several images in a sequence, rendered in rapid succession to simulate motion Made possible in several ways: Made possible in several ways: Animated GIFs and PNGsAnimated GIFs and PNGs The animated image is actually a group of separate, sequenced images The animated image is actually a group of separate, sequenced images FlashFlash Scripts, called macros, that manipulate vector images Scripts, called macros, that manipulate vector images Popular, but proprietary technology (Macromedia) Popular, but proprietary technology (Macromedia) Requires a browser plug-in to view Requires a browser plug-in to view

Animation (cont’d) Java Java The user agent must have Java plug-in installedThe user agent must have Java plug-in installed May not appear as quickly as FlashMay not appear as quickly as Flash Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG) Developed by various vendors, including Adobe, Macromedia, Microsoft and SunDeveloped by various vendors, including Adobe, Macromedia, Microsoft and Sun An open standard adopted by the W3CAn open standard adopted by the W3C Supports:Supports: Animation Animation Compression Compression Searchable text Searchable text Zooming Zooming Requires a plug-in to viewRequires a plug-in to view

Animation (cont’d) Identifying animation techniques Identifying animation techniques Right-click on the animation in the browser and identify its propertiesRight-click on the animation in the browser and identify its properties View the Web page source codeView the Web page source code Issues with animation Issues with animation Frequently overusedFrequently overused Can limit accessibilityCan limit accessibility Often proprietary, requiring a browser plug- inOften proprietary, requiring a browser plug- in Using non-standard images Using non-standard images