1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Choosing an Image Format Image Sizes Bits Per Pixel Graphic Tips Image Tag Attributes Line.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Five Working with Images.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Working with Images and HTML
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Iframes & Images Using HTML.
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Add Images to Improve Your Presentation Day 8. You will learn to Understand Graphics Formats Find Graphics Create Your Own Images Insert an Image on Your.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Instructor: A. Burns 1 HTML Images. Instructor: A. Burns 2 Inserting a Graphic Images can be displayed in two ways: as inline images or as external images.
AdvWeb-1/12 DePaul University SNL 262 Web Page Design Chapt 10 - Putting Graphics on A Web Page Instructor: David A. Lash.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
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.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
Adding Images & Working with Images Unit 2. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date:08/10/2009 Period : Summary: To display Art To display Photographs.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
Unit E. Image Measurements The size of an image can be measured 2 ways: Dimensions: the height and width, measured in pixels. File Size: measured in Kilobytes.
Chapter 4 Adding Images. Chapter 4 Lessons Introduction 1.Insert and align images 2.Enhance an image and use alternate text 3.Insert a background image.
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.
Graphic images for computers Stored in files of binary data - Binary blobs Software has to know the binary format to decode the file and render an image.
HTML Boot Camp: Rules and Images
1 Mastering the Internet and HTML Images and Image Tags.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
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.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
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.
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Creating Web Pages with Links, Images, and Formatted Text
Computer Science 101 Images in Web Pages. Image Files Two common formats, GIF and JPEG GIF images are more flexible for use as icons JPEG images are sharper.
Images. The Element To place an image on our web page, we use the self-closing element: The src attribute ("source") is required and supplies the name.
8 Using Web Graphics Section 8.1 Identify types of graphics Identify and compare graphic formats Describe compression schemes Section 8.2 Identify image.
HTML presentation Graphics H format H data compression H size H creating or finding H publishing.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Section 8.1 Create a custom theme Design a color scheme Use shared borders Section 8.2 Identify types of graphics Identify and compare graphic formats.
Adding Images Learning Web Design: Chapter 7. Using an Image Images have many purposed on a Web site Used as a static image To add illustration: ex. A.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Microsoft Expression Web-Illustrated Unit E: Working with Pictures.
LECTURE 18 Java and Web Pages. Java Savvy Browser A browser capable of handling java applets: - Netscape Navigator - Microsoft Internet Explorer - Sun.
Macromedia Dreamweaver MX 2004 Design Professional And Graphics WORKING WITH TEXT.
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 –
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Kevin Murphy Images and Web Pages Masters Project CS 490.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
REEM ALMOTIRI Information Technology Department Majmaah University.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
Images.
Hosted by Coach Slanina
Chapter 3 Images.
Web Development & Design Foundations with HTML5 7th Edition
Images.
Images.
Images.
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Presentation transcript:

1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Choosing an Image Format Image Sizes Bits Per Pixel Graphic Tips Image Tag Attributes Line Breaks Centering Images Image Borders Image Margins Images As Bullets Image Links Two HTML Coding Tricks (lowsrc, nobr)

2 OBJECTIVES Recognize applications for common image formats Insert an image into an HTML document and control its height and width. Create text-based alternative to an inline image Float an image within a Web page in such a way that text flows around it. Place a border around an image Center an image within screen display Use an image as a hyperlink Create unordered lists that use image bullets

3 GIF (Graphics Interface Format) GIF is the format commonly used to save simple images that require only a small number of colors (buttons, icons, cartoons, logos). - Supports up to 256 colors (8 bits) - You can interlace GIF files (first appear with poor resolution and then improve in resolution until the entire image arrives) -Transparent backgroud is possible -Animated images are possible -GIF compression is “lossless”.. accounts for all data bits in the image. image quality does’not change during compress/uncompress. best suited for line art that contains larger areas of the same color

4 JPEG (Joints Photographic Experts Group) JPEG is used to store complex images that involve a large number of colors, such as photographs and artwork. - Supports 16.7 million different colors (8 bits and 24 bits,Full- color hardware is necessary in order to view all colors in such images.) - Smaller than GIF; uses a higher compression ratio - When repeadedly saving; lossy compression to store the image (some of pixels are discarded). - Image Editors offer to save as Progressive image file (layer) But slower to load (one layer at a time). - JPGs do not have GIF’s advantages

5 PNG (Portable Network Graphics) -new - Supports 16.7 million different colors (8 bits and 24 bits) - Lossless compression algoritm - Open standard; everyone free to use it (is still developing) - Some of the most up-to-date browsers support - A large and groving group is trying to establish PNG as the Web Standard

6 CHOOSING AN IMAGE FORMAT Try to resist Exotic image formats (installing a plug-in) Don’t shy away from the PNG image format (popular browser recognize it) It may be best to use only GIF and JPEG Image editors allow to use in different formats Use them to convert exotic images

7 IMAGE SIZES How an image can become a large, slow, troublesome to your users? 500 X 300 (150,000 pixel) If file format is 8 bits per pixel  1,200,000 bits If user modem 56.6 –kilobits-per-second (kbps) 1,200,000 /56,600  21 seconds If this is the only image and 56,6 kilobits modem Many user uses 28.8 kbps and takes 42 seconds to download! If you have 10 – 12 images like that!!! If you are using 24 bits of image

8 BITS PER PIXEL (BPP) Each file format supports a specific range of bits per pixel (bpp). 1 bpp  2 colors 4 bpp  16 colors 8 bpp  256 colors 16 bpp  32,768 colors 24 bpp  16,777,216 colors

9 GRAPHIC TIPS Followings are some techniques for reducing download time: Simplify your graphics; building an image  keep the image simple  Use the fewest color  Save as GIF of JPEG  Avoid dittering (reduces compressibility, all systems don’t ditter in same way)  Large areas of a single color are best for compression

10 GRAPHIC TIPS Followings are some techniques for reducing download time: Divide up large pages; Keep images under a 50 kilobyte. Keep large graphics on their own page; - Put it on a page itself and provide a link (external image) Full size of the image - Thumbnail image as the link - How large that full-size file, give an idea (1,024x768x24 bpp)

11 GRAPHIC TIPS Followings are some techniques for reducing download time: Reuse the images on your page; Browser can take it from the local cache. Preload images if you are going to use them in rollovers; - small images that load or change when the mouse pointer moves over. Use image-reduction software or Web site to decrease the size of images; - They clean up images by removing unused colors form the palette (GifCruncher 

12 INSERTING IMAGES TO A WEB PAGE Description: inserts graphics, photograph, line art, or other image into screen display Type: Empty Attributes: align, alt, border, height, hspace, src, vspace,... - nongraphical browsers display alt value - some browsers force the images into specific size and color - Some users use turn off “automatic image loading”

13 IMAGE TAG ATTRIBUTES Src Where to find the inserted image Minimize the home server’s load :( --- Put everthing in the same directory :( --- A place for everything and everything in its place :)

14 IMAGE TAG ATTRIBUTES alt Provides text based description of the image; - if browsers are text or sound based browsers - if browser can not display the actual image - if user has turned off image loading - max. 1,024 bytes long - It can serve as a substitute for icons See the birdie

15 IMAGE TAG ATTRIBUTES Height AND WIDTH image dimensions; Align; A- Horizontal Alignment; left, right

16 IMAGE TAG ATTRIBUTES B- Vertical Alignment Top: aligns the top of the image with the top of the tallest itrm in the current text line Middle:aligns the middle of the image with the bottom, or baseline of the text bottom: aligns the bottom of the image with the bottom, or baseline

17 LINE BREAKS Clear It is used to stop the flow of the text around the image

18 CENTERING IMAGES Centering Objects Description: Centers object within screen display Type: container Attributes: None There is no element! Centering a Paragraph:... left, right, and justify are possible with P tag.

19 IMAGE BORDERS border-style: dotted|dashed|solid|double|grove|ridge|inset|outset|hidden|none border-width: thin|medium|thick|absolute|inherit border-color: color#|transparent|inherit

20 IMAGE MARGINS margin: margin-width | inherit Establishes a 15 pixel margin around the image vspace AND hspace Establishes a 20 pixel horizontal and vertical space around the image

21 IMAGES AS BULLETS The custom bullets are nice, as long as the images aren’t too big! list-style-image: url | none | inherit

22 IMAGE LINKS Clickable images... TWO HTML CODING TRICKS lowsrc: low resolution loaded before loading the original image (They must be in same size) no line break Description: overrides browser’s ability to wrap text to the next line (type:container) long text, url, a line of computer code