Publisher: O'Reilly Media
Final Release Date: February 1999
Pages: 468
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 authors. It is a little documented field, however, and the many valuable free libraries and tools available on the Internet remain under-utilized. Programming Web Graphics with Perl & GNU Software is aimed at intermediate and advanced Web users who want to use CGI scripts to generate dynamic graphic content. It will also help to demystify the manipulation of graphics formats for newcomers to the Web.Programming Web Graphics with Perl & GNU Software takes a practical, resource-like approach to the content. It is not a book about design or aesthetics of Web graphics; its focus is on programming or, more accurately, scripting programs that manipulate graphics file to be published on the Web. Most of the examples in the book use Perl as a scripting language, though the concepts are applicable to any programming language. However, several powerful Perl modules for generating graphics (GD, PerlMagick, GIFgraph) should help position Perl as a major contender for your Web graphics applications. Most of the topics covered in the book are applicable to any platform (NT, Linux, Un*x, MaxOS), with the exception of the chapter detailing the Gnu Image Manipulation Program (a free Adobe Photoshop-like application), which requires a connection to an X server. The focus is always on free software, when it is available.This book covers the following:
- 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
One of the key ingredients to the success of the Web is that anyone who wanted to could participate in publishing to the world. This book will take its readers to the next level of publishing to the world: learning to use scripting programs to create dynamic graphics for their Web sited. The information in this book is written in a practical, easy manner with high-quality documentation and useful examples throughout. It is a detailed reference that provides Web designers and programmers and with the information they need to program.
|
-
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 |
- Title:
- Programming Web Graphics with Perl and GNU Softwar
- By:
- Shawn Wallace
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Safari Books Online
- Print:
- February 1999
- Pages:
- 468
- Print ISBN:
- 978-1-56592-478-9
- | ISBN 10:
- 1-56592-478-9
|
-
Shawn Wallace has been applying computers to graphics problems for the past fifteen years. A programmer and artist, Shawn is managing director of the AS220 (www.as220.org) artist community in Providence, RI, a cofounder of the SMT Computing Society, and a member of the Rhode Island chapter of the Perl Mongers. He is also involved in the Bolero open source music notation system (www.as220.org/shawn/bolero) and the Institute for Folk Computing, a program to inform and inspire the use of open software by the general public in Providence. Shawn studied computer engineering at the University of Rhode Island and participated in the construction of an early (mid-80s) hypermedia delivery system at HyperView Systems in Middletown, RI. View Shawn Wallace's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Programming Web Graphics with Perl and GNU Software is a collared titi, a small, capuchin-like monkey found in South America. The word "titi" means "little cat" in the language of the Aymara Indians of Peru and Bolivia, and it's not hard to see why it was so named. The titi is one of the smallest of the monkeys, measuring 12-16 inches long, with a long, bushy tail measuring 13-20 inches. Titis have long, silky fur, and long, claw-like nails. Despite their short legs, they are extremely agile jumpers. They feed on insects, lizards, fruit, leaves, blossoms, and occasionally small birds.Titis live in pairs, perhaps with one or two young. They are believed to mate for life. Females give birth to one offspring at a time, who is then carried and cared for by the male until reaching maturity. Although titis are extremely nervous monkeys who seem to be in constant motion, it is not uncommon for the pair to take a break and rest on a tree branch huddled close together, with their tails intertwined. When it comes to protecting their territory, titis are very aggressive, and often start the day by patrolling the edge of their territory and jumping up and down and screaming at the titi in the adjoining territory, who is engaged in a similar security patrol. Jane Ellin was the production editor for Programming Web Graphics with Perl and GNU Software . Kim Brown was the copyeditor; Lynn Hutchinski wrote the index with support from Seth Maislin; Nicole Gipson Arigo, Sarah Jane Shangraw, and Sheryl Avruch provided quality control; and Betty Hugh, Kimo Carter, and Sebastian Banker provided production support.Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced with Quark XPress 3.3 using the ITC Garamond font. Whenever possible, our books use RepKover?, a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.The inside layout was designed by Edie Freedman and implemented in FrameMaker by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were created in Macromedia Freehand 7.0 by Robert Romano. This colophon was written by Clairemarie Fisher O'Leary. |
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Cynthia Gibas, Per Jambeck
April 2001
By Jeffrey E.F. Friedl
July 2002
By Sriram Srinivasan
August 1997
|
Customer Reviews
8/7/2000 (1 of 1 customers found this review helpful) 2.0Programming Web Graphics with Perl & GNU Software Review By Thomas Platzer from Undisclosed 7/27/2000 (1 of 1 customers found this review helpful) 5.0Programming Web Graphics with Perl & GNU Software Review By Mike Bilow from Undisclosed 7/23/2000 4.0Programming Web Graphics with Perl & GNU Software Review 6/26/2000 (2 of 2 customers found this review helpful) 3.0Programming Web Graphics with Perl & GNU Software Review
|
|
|