SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
Standard
SVG
@jesusnoseq | jesusnoseq.com
SVG - ¿What is it?
Scalable Vector Graphics
Is an XML-based vector image format
for two-dimensional graphics.
SVG - The standard
The SVG specification is an open standard
developed by the World Wide Web Consortium
(W3C)
W3C Recommendation 16 August 2011
http://www.w3.org/TR/SVG11/
SVG - A little of History
● The W3C develops the standard since 1999.
● SVG 1.0 became a W3C Recommendation
on 4 September 2001.
● SVG 1.1 became a W3C Recommendation
on 14 January 2003.
● SVG Tiny 1.2 became a W3C
Recommendation on 22 December 2008.
● SVG 2.0 is currently a draft. It is scheduled
as recommendation for August 2014.(changes)
SVG - What can i do?
● Paths
http://www.w3.org/TR/SVG11/paths.html
● Basic shapes (polygons, circles, ellipses, rectangles and round-cornered rectangles)
http://www.w3.org/TR/SVG11/shapes.html
● Animaciones
http://www.w3.org/TR/SVG11/animate.html
http://www.w3schools.com/svg/tryit.asp?filename=trysvg_animatemotion3
● Text
http://www.w3.org/TR/SVG11/text.html
● Fonts
http://www.w3.org/TR/SVG11/fonts.html
● Painting
http://www.w3.org/TR/SVG11/painting.html
● Filter effects
http://www.w3.org/TR/SVG11/filters.html
SVG - What can i do?
● Colors, Gradients and patterns
http://www.w3.org/TR/SVG11/pservers.html
● Clipping, masking and compositing
http://www.w3.org/TR/SVG11/masking.html
● Interactivity
http://www.w3.org/TR/SVG11/interact.html
● Linking
http://www.w3.org/TR/SVG11/linking.html
● Metadata
http://www.w3.org/TR/SVG11/metadata.html
● Scripts
http://www.w3.org/TR/SVG11/escript.html
● Can contain raster graphics (JPEG or PNG)
http://www.w3.org/TR/SVG/conform.html
SVG - Is a XML file
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%"
height="100%" viewBox="0 0 100 100">
<title>SVG Logo</title>
<a xlink:href="http://www.w3.org/Graphics/SVG/" target="_parent" xlink:title="W3C SVG Working
Group home page">
<rect id="background" fill="#FF9900" width="100" height="100" rx="4" ry="4"/>
<rect id="top-left" fill="#FFB13B" width="50" height="50" rx="4" ry="4"/>
<rect id="bottom-right" x="50" y="50" fill="#DE8500" width="50" height="50" rx="4" ry="4"/>
<g id="circles" fill="#FF9900">
<circle id="n" cx="50" cy="18.4" r="18.4"/>
<circle id="ne" cx="72.4" cy="27.6" r="18.4"/>
<circle id="e" cx="81.6" cy="50" r="18.4"/>
<circle id="se" cx="72.4" cy="72.4" r="18.4"/>
<circle id="s" cx="50" cy="81.6" r="18.4"/>
<circle id="sw" cx="27.6" cy="72.4" r="18.4"/>
<circle id="w" cx="18.4" cy="50" r="18.4"/>
<circle id="nw" cx="27.6" cy="27.6" r="18.4"/>
</g>
...
SVG - Integration
● The standard way of integrating images: <img>
● Embedded with HTML
http://www.w3schools.com/svg/svg_examples.asp
Google index SVG content.
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" />
</svg>
</body>
</html>
SVG - Who support svg?
● Vector graphics editor
● Web browsers http://caniuse.com/svg
○ And some mobile web browsers
● LibreOffice, Scribus, gnuplot, GIMP,
Blender...
● Libraries (librsvg, Batik...)
● Game Engines (andengine, canvace.js, libGDX, Blender)
SVG - Editors
● InkScape
● Adobe Illustrator
● CorelDRAW
● And more
http://en.wikipedia.org/wiki/List_of_vector_graphics_editors
SVG - Advantages / Disadvantages
● Scalable to any size
without loss.
● Easy to modify.
● Vector
representations are
often of much smaller
file size.
● Compatibility.
● Rendering time.
● The same file size
regardless of the size
which is to be
displayed.
SVG - Raster VS Vector images
SVG - Links
Bibliography
http://www.w3.org/Graphics/SVG/
http://www.w3.org/TR/2013/WD-SVG2-20130409/
http://www.w3.org/TR/SVG11
http://www.w3.org/TR/SVGTiny12/
http://es.wikipedia.org/wiki/Svg
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3.org/Graphics/SVG/WG/wiki/Secret_Origin_of_SVG
http://es.wikipedia.org/wiki/Wikipedia:Transici%C3%B3n_a_SVG
Tutorials:
http://www.w3schools.com/svg/svg_intro.asp
http://docs.webplatform.org/wiki/svg/tutorials/smarter_svg_overview
http://joaclintistgud.wordpress.com/2011/04/14/inkscape-logo-a-logo-2%C2%AA-edicion/
SVG image galleries:
http://wiki.inkscape.org/wiki/index.php/Galleries

Weitere ähnliche Inhalte

Ähnlich wie Standard svg

Cara membuat tulisan mengikuti cursor
Cara membuat tulisan mengikuti cursor Cara membuat tulisan mengikuti cursor
Cara membuat tulisan mengikuti cursor Mdeno Akbar
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
Лаб.р №1 "Фабрика Blockly"
Лаб.р №1 "Фабрика Blockly"Лаб.р №1 "Фабрика Blockly"
Лаб.р №1 "Фабрика Blockly"OlesiaJL
 
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...Guillaume Kossi
 
Expression Engine Designer
Expression Engine   DesignerExpression Engine   Designer
Expression Engine DesignerMatias
 
Why ExpressionEngine is Great for Designers
Why ExpressionEngine is Great for DesignersWhy ExpressionEngine is Great for Designers
Why ExpressionEngine is Great for DesignersFortySeven Media
 
Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Marc Grabanski
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 featuresGill Cleeren
 
Top 10 HTML5 features every developer should know!
Top 10 HTML5 features every developer should know!Top 10 HTML5 features every developer should know!
Top 10 HTML5 features every developer should know!Gill Cleeren
 
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventHTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventRobert Nyman
 

Ähnlich wie Standard svg (20)

Cara membuat tulisan mengikuti cursor
Cara membuat tulisan mengikuti cursor Cara membuat tulisan mengikuti cursor
Cara membuat tulisan mengikuti cursor
 
SVG introduction
SVG   introductionSVG   introduction
SVG introduction
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
Svg Basics
Svg BasicsSvg Basics
Svg Basics
 
Lecture 03 HTML&CSS Part 2
Lecture 03   HTML&CSS Part 2Lecture 03   HTML&CSS Part 2
Lecture 03 HTML&CSS Part 2
 
Лаб.р №1 "Фабрика Blockly"
Лаб.р №1 "Фабрика Blockly"Лаб.р №1 "Фабрика Blockly"
Лаб.р №1 "Фабрика Blockly"
 
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...
Sara Soueidan: Styling and Animating Scalable Vector Graphics with CSS [CSSCo...
 
Expression Engine Designer
Expression Engine   DesignerExpression Engine   Designer
Expression Engine Designer
 
Why ExpressionEngine is Great for Designers
Why ExpressionEngine is Great for DesignersWhy ExpressionEngine is Great for Designers
Why ExpressionEngine is Great for Designers
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 features
 
Css web gallery
Css web galleryCss web gallery
Css web gallery
 
SVG and the web
SVG and the webSVG and the web
SVG and the web
 
Top 10 HTML5 features every developer should know!
Top 10 HTML5 features every developer should know!Top 10 HTML5 features every developer should know!
Top 10 HTML5 features every developer should know!
 
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile EventHTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
 
Html5 101
Html5 101Html5 101
Html5 101
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
Html 5 svg
Html 5 svgHtml 5 svg
Html 5 svg
 

Kürzlich hochgeladen

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Standard svg

  • 2. SVG - ¿What is it? Scalable Vector Graphics Is an XML-based vector image format for two-dimensional graphics.
  • 3. SVG - The standard The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) W3C Recommendation 16 August 2011 http://www.w3.org/TR/SVG11/
  • 4. SVG - A little of History ● The W3C develops the standard since 1999. ● SVG 1.0 became a W3C Recommendation on 4 September 2001. ● SVG 1.1 became a W3C Recommendation on 14 January 2003. ● SVG Tiny 1.2 became a W3C Recommendation on 22 December 2008. ● SVG 2.0 is currently a draft. It is scheduled as recommendation for August 2014.(changes)
  • 5. SVG - What can i do? ● Paths http://www.w3.org/TR/SVG11/paths.html ● Basic shapes (polygons, circles, ellipses, rectangles and round-cornered rectangles) http://www.w3.org/TR/SVG11/shapes.html ● Animaciones http://www.w3.org/TR/SVG11/animate.html http://www.w3schools.com/svg/tryit.asp?filename=trysvg_animatemotion3 ● Text http://www.w3.org/TR/SVG11/text.html ● Fonts http://www.w3.org/TR/SVG11/fonts.html ● Painting http://www.w3.org/TR/SVG11/painting.html ● Filter effects http://www.w3.org/TR/SVG11/filters.html
  • 6. SVG - What can i do? ● Colors, Gradients and patterns http://www.w3.org/TR/SVG11/pservers.html ● Clipping, masking and compositing http://www.w3.org/TR/SVG11/masking.html ● Interactivity http://www.w3.org/TR/SVG11/interact.html ● Linking http://www.w3.org/TR/SVG11/linking.html ● Metadata http://www.w3.org/TR/SVG11/metadata.html ● Scripts http://www.w3.org/TR/SVG11/escript.html ● Can contain raster graphics (JPEG or PNG) http://www.w3.org/TR/SVG/conform.html
  • 7. SVG - Is a XML file <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 100 100"> <title>SVG Logo</title> <a xlink:href="http://www.w3.org/Graphics/SVG/" target="_parent" xlink:title="W3C SVG Working Group home page"> <rect id="background" fill="#FF9900" width="100" height="100" rx="4" ry="4"/> <rect id="top-left" fill="#FFB13B" width="50" height="50" rx="4" ry="4"/> <rect id="bottom-right" x="50" y="50" fill="#DE8500" width="50" height="50" rx="4" ry="4"/> <g id="circles" fill="#FF9900"> <circle id="n" cx="50" cy="18.4" r="18.4"/> <circle id="ne" cx="72.4" cy="27.6" r="18.4"/> <circle id="e" cx="81.6" cy="50" r="18.4"/> <circle id="se" cx="72.4" cy="72.4" r="18.4"/> <circle id="s" cx="50" cy="81.6" r="18.4"/> <circle id="sw" cx="27.6" cy="72.4" r="18.4"/> <circle id="w" cx="18.4" cy="50" r="18.4"/> <circle id="nw" cx="27.6" cy="27.6" r="18.4"/> </g> ...
  • 8. SVG - Integration ● The standard way of integrating images: <img> ● Embedded with HTML http://www.w3schools.com/svg/svg_examples.asp Google index SVG content. <html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" /> </svg> </body> </html>
  • 9. SVG - Who support svg? ● Vector graphics editor ● Web browsers http://caniuse.com/svg ○ And some mobile web browsers ● LibreOffice, Scribus, gnuplot, GIMP, Blender... ● Libraries (librsvg, Batik...) ● Game Engines (andengine, canvace.js, libGDX, Blender)
  • 10. SVG - Editors ● InkScape ● Adobe Illustrator ● CorelDRAW ● And more http://en.wikipedia.org/wiki/List_of_vector_graphics_editors
  • 11. SVG - Advantages / Disadvantages ● Scalable to any size without loss. ● Easy to modify. ● Vector representations are often of much smaller file size. ● Compatibility. ● Rendering time. ● The same file size regardless of the size which is to be displayed.
  • 12. SVG - Raster VS Vector images