Page 260 - Open Soource Technologies 304.indd
P. 260
Web Technologies-I Sarabjit Kumar, Lovely Professional University
Notes Unit 11: Graphics
CONTENTS
Objectives
Introduction
11.1 Embedding an Image in a Page
11.1.1 Here’s What’s Happening: The Image Element Parameters
11.1.2 Image Formats for the Web
11.1.3 Activating an Image: Turning an Image into a Link
11.2 The Graphic Design(GD) Extension
11.3 Basic Graphics Concept
11.3.1 Discrete Grids—Graphing Pixels
11.3.2 Where is the Origin?
11.3.3 Measuring Angles
11.4 Creating and Drawing Images
11.4.1 The Structure of a Graphics Program
11.4.2 Changing the Output Format
11.4.3 Testing for Supported Image Formats
11.4.4 Reading an Existing File
11.4.5 Basic Drawing Functions
11.5 Image with Text
11.6 Dynamically Generated Buttons
11.7 Scaling Images
11.8 Colour Handling
11.8.1 Using the Alpha Channel
11.8.2 Identifying Colours
11.8.3 True Colour Indexes
11.8.4 Text Representation of an Image
11.9 Summary
11.10 Keywords
11.11 Review Questions
11.12 Further Readings
Objectives
After studying this unit, you will be able to:
• Understand how to embedding an image in a page
• Discuss about the graphic design(GD) extensions
• Understand the basic concepts of basic graphics
254 LOVELY PROFESSIONAL UNIVERSITY