Buy this Book
Print Book $39.95 Print Book £28.50
Add to UK Cart
Perl Graphics Programming
Perl Graphics Programming Creating SVG, SWF (Flash), JPEG and PNG files with Perl

By Shawn Wallace
Price: $39.95 USD
£28.50 GBP

Cover | Table of Contents | Index | Sample Chapter | Colophon


Table of Contents

Preface

Part I. Raster Images and Web Graphics

1. Creating Graphics with Perl
     Introduction to File Formats
     Color
     Raster File Formats
     Vector Graphic File Formats
     Document File Formats
     References

2. On-the-Fly Graphics with GD
     GD Basics
     Sample GD Applications
     Reading and Writing Methods
     Getting and Setting General Information
     Color Table Manipulation Methods
     Brushes, Styles, and Tiles
     Copying and Transforming Images
     Image Drawing and Manipulation Methods
     Strings and Fonts
     Polygon Methods

3. Graphics Scripting with Image::Magick
     What Is ImageMagick?
     Using Image::Magick
     Sample Image::Magick Applications
     Reading and Writing Images
     Retrieving and Setting File Information
     Sizing and Transforming Images
     Copying and Composing Images
     Color and Transparency
     Annotation and Drawing
     Filters and Effects

4. Charts and Graphs with GD::Graph
     Let's Make Some Graphs!
     A Sample GD::Graph Application
     GD::Graph Methods
     Attributes of GD::Graph Objects
     Colors and Fonts in GD::Graph

5. Scripting the Gimp with Perl
     Getting and Installing the Gimp
     Writing Gimp Plug-ins in Perl
     Your First Gimp Script
     Object-Oriented Versus Procedural Scripting
     Adding New Features to the Gimp
     Standalone Scripts

Part II. Vector Images and Animations

6. SVG: The Scalable Vector Graphics Format
     SVG Document Structure
     The Basic SVG Tags

7. Creating SVG with Perl
     A Slide-Show Presentation
     SVG Animation
     Creating a Bouncing Ball
     SVG Scripting with JavaScript
     Using Unicode Text in SVG Images
     Transformation with XSLT and Perl

8. SWF: The Flash File Format
     The History of Flash and SWF
     The Format and Function of SWF Files
     Anatomy of a Tag
     Parsing an SWF File with Perl

9. Using Ming
     Installation
     Overview of the Perl Interface
     The Astral Trespassers Game
     The SWF Module
     The SWF::Movie Module
     The SWF::Sprite (or SWF::MovieClip) Module
     The SWF::DisplayItem Module
     The SWF::Shape Module
     The SWF::Button Module
     The SWF::Bitmap Module
     The SWF::Text Module
     The SWF::TextField Module
     The SWF::Font Module
     The SWF::Fill Module
     The SWF::Gradient Module
     The SWF::Morph Module
     The SWF::Sound Module
     The SWF::Action Module
     SWF Recipes

Part III. Documents and Printing

10. Printing with Postscript and PDF
     PostScript in a Nutshell
     Portable Document Format (PDF)
     References

11. Using the PostScript Modules
     Creating PostScript from a Web Interface
     The PostScript::TextBlock Module
     The PostScript::Document Module
     The PostScript::Elements Module
     Other PostScript Modules

12. Creating PDF Documents with Perl
     Introduction to PDF::API2
     Creating Address Labels
     Adding to Existing PDF Files
     PDF::API2 Reference
     PDF::API2::Page
     PDF::API2::Content
     PDF::API2::Gfx
     PDF::API2::Text
     PDF::API2::Outline
     References

Part IV. Appendixes

A. Serving Graphics on the Web

B. Gimp Reference

C. Image::Magick File Formats

D. ActionScript Reference

Index

Return to Perl Graphics Programming