Editing
Portal:Graphics Programming
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== SVG and vector graphics === Perl graphics programming is not limited to raster images. Perl can also generate vector graphics, especially through the `SVG` module. MetaCPAN describes `SVG` as a 100% Perl module that generates a nested data structure containing the DOM representation of an SVG image. It can generate SVG objects, embed other SVG instances, access the DOM, create JavaScript, and generate SMIL animation content.<ref>MetaCPAN, βSVG,β https://metacpan.org/pod/SVG, accessed July 3, 2026.</ref> SVG is important because it allows Perl to generate scalable diagrams, charts, maps, icons, and illustrations as XML-based vector graphics. Unlike PNG or JPEG output, SVG can scale cleanly and can be manipulated by browsers, editors, and scripts. Perl-generated SVG is useful for: * diagrams; * flow charts; * network maps; * genome browser tracks; * data visualization; * icons and logos; * scientific illustrations; * interactive web graphics; * generated reports; * print-friendly vector output. SVG fits Perl well because SVG is text. Perl is excellent at generating structured text, XML-like output, and data-driven documents.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information