Perl Graphics Programming
Creating SVG, SWF (Flash), JPEG and PNG files with Perl
Publisher: O'Reilly Media
Released: December 2002
Pages: 480

Graphics programmers aren't the only ones who need to be proficient with graphics. Web and applications programmers know that a dull web page can be quickly transformed into one that's interesting and lively with the use of well-planned graphics. And fortunately, you don't need the skills of a fulltime graphics programmer to use graphics effectively. From access counters and log report graphs to scientific plots and on-the-fly animated GIFs, graphics scripting is within the grasp of most web programmers. Using open source software, like Perl, you have the power to dynamically generate graphics based on user input and activity, easily manipulate graphics content, and optimize graphics for compression and quality.

Geared toward Perl users and webmasters, Perl Graphics Programming focuses on open-source scripting programs that manipulate graphics files for use on the Web. The book demystifies the manipulation of graphics formats for newcomers to the Web with a practical, resource-like approach. With this book you'll learn to:

  • Generate dynamic web graphics with charts, tables, and buttons
  • Automate graphics tasks (thumbnails and borders)
  • Create dynamics web documents (PDF, Postscript)
  • Produce rich Internet experiences with Flash and SVG
You'll begin with a tour of the most common web graphic file formats--PNG, JPEG, GIF, SWF, SVG, Postscript and PDF--then you'll explore the most powerful tools and Perl modules available for manipulating these graphics, such as GD, PerlMagick, and GIMP. Included in this part of the book is a thorough description of the Ming module for creating on-the-fly Flash files. Next, a "cookbook" section includes practical, all purpose recipes: GIF animation, generating images within a dynamic application, communicating between SWF front-end and Perl back-end, XSLT transformations, compression, and much more.

Perl programmers naturally turn to Perl to tackle whatever challenge they have at hand, and graphics programming is no exception. Perl Graphics Programming provides all the tools you need to begin programming and designing graphics for the Web immediately. This book will change how you think about generating and manipulating graphics for the Web.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyPerl Graphics Programming

(based on 2 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

(1 of 1 customers found this review helpful)


Mostly for beginners

By mortenb

from Undisclosed

Comments about oreilly Perl Graphics Programming:

I feel this book fell between two chairs: If you are a beginner you mostly know one tool or like to know one tool and would like to interface it via perl. You do not need all the other chapters. Why buy a whole book? For the experts the book covers too many tools that each chapters become too brief. It does a very good job giving you a nice start.

The focus is on established linux graphics tools and formats and then using CPAN modules to interface them. Unfortunately many CPAN modules like GD::Graph is dead slow processing large data.

I'm missing more indepth information like how to write an effective graphic language state machine (aka openGL), build 3D graphic-objects, Direct rendering support, Shaders, direct access to the png-lib, tuning your graphic objects for max performance under perl etc. clearly outside the scope of the book.

(2 of 2 customers found this review helpful)


Perl Graphics Programming Review

By Justin Case

from Undisclosed

Comments about oreilly Perl Graphics Programming:

Should have named this book Perl n' Graphics (png)....

Flash and PERL, who knew..??!!


Thanks for another monkey.

Displaying reviews 1-2

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook: $29.00
Formats:  DAISY, ePub, Mobi, PDF
Print & Ebook: $43.99
Print: $39.99