Programming Web Graphics with Perl and GNU Softwar
Publisher: O'Reilly Media
Release Date: February 1999
Pages: 468
Read on Safari with a 10-day trial
Start your free trial now Buy on AmazonWhere’s the cart? Now you can get everything on Safari. To purchase books, visit Amazon or your favorite retailer. Questions? See our FAQ or contact customer service:
1-800-889-8969 / 707-827-7019
support@oreilly.com
- a tour through the most popular Web graphics file formats by implementing parsers for GIF, JPEG, and PNG files
- descriptions of the PNG, JPEG, and giflib libraries, as well as many other free and proprietary libraries and SDKs
- extensive documentation and examples using the Perl graphics modules GD and GIFgraph, and the Perl interface to the powerful ImageMagick libraries
- documentation on the Gnu Image Manipulation Program (GIMP) and the Perl interface that lets you easily script plug-ins or interface to the GIMP via the Web
- the creation of image maps from data extracted from a database
- the implementation of several new Perl modules for the creation of neatly formatted PostScript files
- details on interfacing to a fax gateway
- reusable recipes for many popular applications such as Web counters and Web cams
- the creation of animated GIFs on-the-fly
Table of Contents
-
Introduction to Web Graphics
-
Chapter 1 Image File Formats
- Network Graphics Basics
- Graphics Interchange Format (GIF)
- Portable Network Graphics (PNG)
- JPEG
- References
-
Chapter 2 Serving Graphics on the Web
- The Server and CGI
- Web Graphics and the Browser
- Presenting Images in HTML
- Colors and the Web Browser
- The Once and Future Browser
- References
-
Chapter 3 A Litany of Libraries
- Image Support Libraries
- References
-
-
Graphics Programming Tools
-
Chapter 4 On-the-Fly Graphics with GD
- GD Jumpstart
- Sample Application: A Chess Board Simulator
- The GD.pm Distribution
- Font Methods
- Polygon Methods
-
Chapter 5 Industrial-Strength Graphics Scripting with PerlMagick
- Learn PerlMagick in 21 Seconds
- The ImageMagick Distributionand PerlMagick
- Image::Magick Attributes and Methods by Category
- Reading and Writing Images
- Getting and Setting Image::Magick Attributes
- Manipulating Images
- How to Tell When Something Has Gone Wrong
- Using the ImageMagick Utilities
-
Chapter 6 Charts and Graphs with GIFgraph
- Let’s Make Some Graphs!
- GIFgraph Reference
- Colors in GIFgraph
- Creating Data Sets with Data::Xtab
- Passing GIFgraph Graphs to GD Objects
-
Chapter 7 Web Graphics with the Gimp
- Quick Gimp
- Getting and Installing the Gimp
- Using the Gimp for Day-to-Day Web Projects
- Scripting the Gimp in Perl
- References
-
-
Dynamic Graphic Techniques
-
Chapter 8 Image Maps
- Client-Side Versus Server-Side
- Image Map Tools
- Image Maps on the Fly: A Clickable “Wander” Engine
-
Chapter 9 Moving Pictures: Programming GIF Animation
- Anatomy of a GIF89a Animation
- Seven Easy Pieces with PerlMagick
- GIFscript, an Animation Scripting Language
-
Chapter 10 Web Graphics Cookbook
- The BrokenImage Module
- A Web Page Access Counter
- A JavaScript Rollover Menu
- A Web Cam
- ASCII ALTs
- Thumbnailing
- References
-
Chapter 11 Paperless Office? Not in Our Lives: Printing and the Web
- Everything I Needed to Know About PostScript I Learned Here
- Using the PostScript Modules on the Web
- The PostScript::TextBlock Module
- Multipage Documents with PostScript::Document
- The PostScript::Elements Module
- References
-
-
Appendixes
-
Appendix A Simple PNG Decoder in Perl
-
Appendix Quick Reference Guide to the Gimp
- The Gimp Toolbox
- The Toolbox Menu Hierarchy
- The Image Menu Hierarchy
-
Appendix Procedure Reference for the Gimp
- Procedural Database Information
- File Operations
- Painting, Drawing, and Transforms
- Color Control, Palettes, and Patterns
- Selection Procedures
- Layers and Channels
- Undo and Redo
- Image Information and Management
- User Interface
- Extensions
-
-
Colophon