Preface |
|
ix | |
Part I. Raster Images and Web Graphics |
|
|
Creating Graphics with Perl |
|
|
3 | (22) |
|
Introduction to File Formats |
|
|
3 | (2) |
|
|
5 | (5) |
|
|
10 | (7) |
|
Vector Graphic File Formats |
|
|
17 | (4) |
|
|
21 | (3) |
|
|
24 | (1) |
|
On-the-Fly Graphics with GD |
|
|
25 | (37) |
|
|
26 | (1) |
|
|
27 | (8) |
|
Reading and Writing Methods |
|
|
35 | (5) |
|
Getting and Setting General Information |
|
|
40 | (1) |
|
Color Table Manipulation Methods |
|
|
41 | (3) |
|
Brushes, Styles, and Tiles |
|
|
44 | (4) |
|
Copying and Transforming Images |
|
|
48 | (2) |
|
Image Drawing and Manipulation Methods |
|
|
50 | (3) |
|
|
53 | (2) |
|
|
55 | (7) |
|
Graphics Scripting with Image::Magick |
|
|
62 | (55) |
|
|
62 | (3) |
|
|
65 | (5) |
|
Sample Image::Magick Applications |
|
|
70 | (9) |
|
Reading and Writing Images |
|
|
79 | (3) |
|
Retrieving and Setting File Information |
|
|
82 | (4) |
|
Sizing and Transforming Images |
|
|
86 | (5) |
|
Copying and Composing Images |
|
|
91 | (4) |
|
|
95 | (5) |
|
|
100 | (6) |
|
|
106 | (11) |
|
Charts and Graphs with GD::Graph |
|
|
117 | (28) |
|
|
117 | (8) |
|
A Sample GD::Graph Application |
|
|
125 | (5) |
|
|
130 | (4) |
|
Attributes of GD::Graph Objects |
|
|
134 | (8) |
|
Colors and Fonts in GD::Graph |
|
|
142 | (3) |
|
Scripting the Gimp with Perl |
|
|
145 | (30) |
|
Getting and Installing the Gimp |
|
|
145 | (3) |
|
Writing Gimp Plug-ins in Perl |
|
|
148 | (2) |
|
|
150 | (5) |
|
Object-Oriented Versus Procedural Scripting |
|
|
155 | (3) |
|
Adding New Features to the Gimp |
|
|
158 | (13) |
|
|
171 | (4) |
Part II. Vector Images and Animations |
|
|
SVG: The Scalable Vector Graphics Format |
|
|
175 | (20) |
|
|
176 | (4) |
|
|
180 | (15) |
|
|
195 | (20) |
|
A Slide-Show Presentation |
|
|
195 | (6) |
|
|
201 | (1) |
|
|
202 | (2) |
|
SVG Scripting with JavaScript |
|
|
204 | (4) |
|
Using Unicode Text in SVG Images |
|
|
208 | (2) |
|
Transformation with XSLT and Perl |
|
|
210 | (5) |
|
SWF: The Flash File Format |
|
|
215 | (23) |
|
The History of Flash and SWF |
|
|
215 | (1) |
|
The Format and Function of SWF Files |
|
|
216 | (7) |
|
|
223 | (10) |
|
Parsing an SWF File with Perl |
|
|
233 | (5) |
|
|
238 | (53) |
|
|
238 | (1) |
|
Overview of the Perl Interface |
|
|
239 | (1) |
|
The Astral Trespassers Game |
|
|
240 | (6) |
|
|
246 | (1) |
|
|
247 | (2) |
|
The SWF::Sprite (or SWF::MovieClip) Module |
|
|
249 | (1) |
|
The SWF::DisplayItem Module |
|
|
250 | (4) |
|
|
254 | (5) |
|
|
259 | (3) |
|
|
262 | (1) |
|
|
263 | (2) |
|
The SWF::TextField Module |
|
|
265 | (2) |
|
|
267 | (1) |
|
|
268 | (1) |
|
|
269 | (1) |
|
|
269 | (3) |
|
|
272 | (1) |
|
|
272 | (1) |
|
|
273 | (18) |
Part III. Documents and Printing |
|
|
Printing with Postscript and PDF |
|
|
291 | (24) |
|
|
291 | (8) |
|
Portable Document Format (PDF) |
|
|
299 | (15) |
|
|
314 | (1) |
|
Using the PostScript Modules |
|
|
315 | (18) |
|
Creating PostScript from a Web Interface |
|
|
316 | (4) |
|
The PostScript::TextBlock Module |
|
|
320 | (6) |
|
The PostScript::Document Module |
|
|
326 | (2) |
|
The PostScript::Elements Module |
|
|
328 | (4) |
|
|
332 | (1) |
|
Creating PDF Documents with Perl |
|
|
333 | (104) |
|
Introduction to PDF::API2 |
|
|
333 | (3) |
|
|
336 | (5) |
|
Adding to Existing PDF Files |
|
|
341 | (2) |
|
|
343 | (4) |
|
|
347 | (2) |
|
|
349 | (4) |
|
|
353 | (2) |
|
|
355 | (2) |
|
|
357 | (3) |
|
|
360 | (3) |
Part IV. Appendixes |
|
|
A. Serving Graphics on the Web |
|
|
363 | (22) |
|
|
385 | (28) |
|
C. Image::Magick File Formats |
|
|
413 | (5) |
|
D. ActionScript Reference |
|
|
418 | (19) |
Index |
|
437 | |