Scalable Vector Graphics Dietz Ellis 04/17/06. SVG SVG is a language for describing two- dimensional graphics in XML. SVG is a language for describing.

Slides:



Advertisements
Similar presentations
Introducing Macromedia Flash MX 2004 – Lesson 11 Introducing Macromedia Flash MX 2004 Lesson 1.
Advertisements

Images Images are a key component of any multimedia presentation.
HTML5 Overview HOANGPT2. 1. General 2. New Elements List 3.
What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques ©2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Iframes & Images Using HTML.
Lecture # 11 JavaScript Graphics. Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG), as the name implies, are - scalable (without pixelation):
M. Honkala, A. Vainio XForms & SVG MITA Seminar, HUT SVG Introduction Features Benefits Simple Example Standardization Mobile Environment Current.
Unit 6 – Multimedia Element: Animation
Presented By, Sripad Sarode
© Nova / Grassioulet 5-6 mai 2002 TECFA staf2x S V G glossary Scalable Vector Graphics.
Server-Side vs. Client-Side Scripting Languages
Introduction to SVG & Batik Presented by Shang-Ming Huang.
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.
2.02 Understand Digital Vector Graphics
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.
Desktop Publishing Carnegie-Mellon University Spring 2001 Dave Watterson Art Director, GATF
1 Introducing Macromedia Flash MX – Lesson 1 Flash MX adds content and animation to Web pages Flash MX movies use vector graphics to reduce size and download.
Object Orientated Data Topic 5: Multimedia Technology.
Vector Graphics 2.02 Understand Digital Vector Graphics.
HYPERTEXT MARKUP LANGUAGE (HTML)
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Web Design Basic Concepts.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Flash: Overview Macromedia Flash MX Instructor: Adam Cavotta.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
1 Creating Web Graphics Outline 2.1 Graphics Types 2.2 Vector Graphics 2.3Bitmapped Graphics 2.4Graphics for the Web 2.5 GIF (Graphics Interchange Format)
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Introduction to Interactive Media 06: Text: Static Interactive Media Component.
Dynamic Web Pages (Flash, JavaScript)
UNIT 8 DRAWING WITH THE HTML5 CANVAS ELEMENTS AND FORMS.
The Internet 8th Edition Tutorial 9 Creating Effective Web Pages.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques.
1 SEG3120 Analysis and Design for User Interfaces Flash Anis Zarrad Parallel Simulations and Distributed Systems (PARADISE) Research Laboratory SITE, University.
Adobe FLASH What & Why? Where & When? Is Flash dead? What about HTML5?
Lights, Camera, Action! The Role of Multimedia in Web Applications Leading Multimedia Formats in Use Today What You Need to Know to Include Them in Your.
Midterm Review WEB DESIGN. FLASH What is Flash? –Flash is a multimedia graphics program specifically for use on the web –Flash enables you to create interactive.
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
1 Additional Topics: Splash, Flash and Web Usability INFO 654 – Spring 2007.
Generating HTML Format Reports for Travel Demand Models May 18, 2009 Chunyu Lu Gannett Fleming, Inc.
Tutorial 1 Introducing Adobe Flash CS3 Professional
Object Orientated Data Topic 5: Multimedia Technology.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Class 02 – 03 Feb 2014 Setup Where do we begin? Know your content Discovering your target user.
Introduction to Interactive Media Interactive Media Components: Text.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
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.
تکنیک های پیشرفته در برنامه سازی وب ) اسلايد نهم SVG - ) جوانمرد Website: به نام خدا.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Computer Graphics Unit 23 Computer Graphics. Computer Graphics Computer generated imagery can be categorized into several different types: Vector or Bitmap.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
Lesson 9: Web Graphics. Objectives Distinguish between vector and raster graphic types Identify and choose appropriate image file formats, including browser-compatibility.
SVG technology SVG technology is what we want? is what we want? Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
Efficient Game Graphics From Flash MX 2004 Game Design Demystified.
ITEC2110, Digital Media Chapter 2 Fundamentals of Digital Imaging 1 GGC -- ITEC Digital Media.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
WHAT IS SVG?. ESSENTIAL QUESTIONS What challenges do mobile devices present to Web designers? What are the basic concepts of responsive web design?
Introducing Macromedia Flash 8
What is SVG?.
Chapter 4: Scalable Vector Graphics (SVG)
Scalable vector graphics
Dynamic Web Pages (Flash, JavaScript)
Web Animation With Macromedia Flash
What is SVG?.
Presentation transcript:

Scalable Vector Graphics Dietz Ellis 04/17/06

SVG SVG is a language for describing two- dimensional graphics in XML. SVG is a language for describing two- dimensional graphics in XML. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text.

SVG advantages over bitmap or raster formats such as: Zooming: Users can magnify their view of an image without negatively affecting the resolution. Zooming: Users can magnify their view of an image without negatively affecting the resolution. Small file size: SVG files are typically smaller than other Web-graphic formats and can be downloaded more quickly. Small file size: SVG files are typically smaller than other Web-graphic formats and can be downloaded more quickly. Display independence: SVG images always appear crisp on your screen, no matter the resolution. You will never experience “pixilated” images. Display independence: SVG images always appear crisp on your screen, no matter the resolution. You will never experience “pixilated” images. Superior color control: SVG offers a palette of 16 million colors. Superior color control: SVG offers a palette of 16 million colors. Interactivity and intelligence: Since SVG is XML- based, it offers dynamic interactivity that can respond to user actions. Interactivity and intelligence: Since SVG is XML- based, it offers dynamic interactivity that can respond to user actions.

SVG vs. Flash Macromedia has been the dominant force behind vector-based graphics on the web for the last 10 years. It is apparent, however, that SVG provides alternatives to many of the functions of Flash and incorporates many others. Macromedia has been the dominant force behind vector-based graphics on the web for the last 10 years. It is apparent, however, that SVG provides alternatives to many of the functions of Flash and incorporates many others.

Advantages to SVG SVG can easily be created by ASP, PHP, Perl, etc and extracted from a database. SVG can easily be created by ASP, PHP, Perl, etc and extracted from a database. It has a built-in ECMA-script (JavaScript) engine, so you don't have to code per browser, and you don't need to learn Flash's action-script. It has a built-in ECMA-script (JavaScript) engine, so you don't have to code per browser, and you don't need to learn Flash's action-script. SVG is XML, meaning it can be read by anything that can read XML. Flash can use XML, but needs to convert it before use. SVG is XML, meaning it can be read by anything that can read XML. Flash can use XML, but needs to convert it before use. Text used in SVG remains selectable and searchable. Text used in SVG remains selectable and searchable. You only need a text editor to create SVG, as opposed to buying Flash. You only need a text editor to create SVG, as opposed to buying Flash.

Advantages of Flash Use Flash if you want complex animations, or complex games (SVG's built in SMIL animation engine is extremely processor intensive.) Use Flash if you want complex animations, or complex games (SVG's built in SMIL animation engine is extremely processor intensive.) Use Flash if your users will not be so computer literate, for instance a children's site, or a site appealing to a wide audience. Use Flash if your users will not be so computer literate, for instance a children's site, or a site appealing to a wide audience. Use Flash if sound is important - SVG/SMIL supports sound, but it's pretty basic. Use Flash if sound is important - SVG/SMIL supports sound, but it's pretty basic.

Getting a SVG Viewer Internet Explorer: recommend using Adobe SVG viewer plug-in: ain.html Internet Explorer: recommend using Adobe SVG viewer plug-in: ain.html ain.html ain.html FireFox: verison 1.5 comes with a SVG installed. Download newest version of FireFox: FireFox: verison 1.5 comes with a SVG installed. Download newest version of FireFox:

Getting started Basic syntax of SVG: Basic syntax of SVG: …….</svg>

SVG : Text This is SVG. This is SVG. </svg>Result:

Shapes : Rectangle </svg>Result:

Shapes : Circle </svg>Result:

SVG : Paths </svg>Result:

Path explanation Moveto (M) Start a new sub-path at the given (x,y) coordinate. Lineto (L) Draw a line from the current point to the given (x,y) coordinate which becomes the new current point. Closepath (Z) Close the current sub path by drawing a straight line from the current point to current sub path’s initial point.

SVG in HTML 3 Methods: embed, object, iframe 3 Methods: embed, object, iframeEmbed: Object: Iframe:

Assignment Using SVG make a picture of a house, using Circle, Rectangle, and at least one Path. Using SVG make a picture of a house, using Circle, Rectangle, and at least one Path.

Questions/Concerns? (678) Feel free to contact me either way….