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.
I was attempting to write some Perl scripts for graphics manipulation in Linux, and could not find much in the way of relevant documentation. This book supplied the information that I needed.
many supported formats
Published by Thriftbooks.com User , 19 years ago
Wallace explains how Perl has evolved to have an impressive image reading and writing ability, for the most common graphics formats of GIF, JPEG, PNG and X bitmap. A lot of the heavy lifting has been done for you in two modules - GD and ImageMagick. The chapters on those expose you to simple subroutines that you'd expect in any graphics package. But Wallace extends the scope to the usage of Postscript and PDF modules. Some Perl developers recognised the need to output in these formats, for compatibility with much professional documentation. So here too, you can take advantage of a lot of prior sweat. For completeness, the book also has a section on supported vector graphics and animation. Specifically how to use SVG and Flash in Perl. This is perhaps a more specialised need than the previous modules. But good to have here, for some of you. It should be noted that the book is not really about teaching graphics programming, per se. Wallace assumes you're already up on this. Rather, the book is about the modules and subroutines that give you the elementary graphics implementation vocabulary.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $15. ThriftBooks.com. Read more. Spend less.