scientific article; zbMATH DE number 1283090

From MaRDI portal
Publication:4240112





The book is divided into three parts. Part I, Introduction to Web Graphics, provides a survey of the current state of web graphics: Chapter 1, Image File Formats. In which the ``black box of the three predominant web graphics formats (GIF, JPEG, and PNG) is opened, explored, and accompanied by a discussion of web graphics concepts such as transparency, compression, interlacing and color tables. Chapter 1 is supplemented by Appendix A, which details a simple implementation of a PNG decoder script written in Perl. Chapter 2, Serving Graphics on the Web. In which we present the standard ins and outs of creating CGI scripts that generate dynamic images, and take a look at the HTML tags that embed images in web pages. Chapter 3, A Litany of Libraries. In which we briefly tour some of the more useful free graphics libraries available on the Web. The average end user will probably not use these resources directly, but a number of them (the Independent JPEG Group's libjpeg and the PNG libraries, for example) are used by most web browsers to implement graphics support, so it is good to know about them. Part II, Graphics Programming Tools, is dedicated to documenting several tools for generating web graphics: Chapter 4, On-the-Fly Graphics with GD. In which we discover the GD module and explore its use in CGI applications. The GD module is a collection of functions for reading, manipulating, and writing color GIF files. GD is great for quick and dirty scripts that are fast and not all that dirty, but it is limited in that it can only read and write GIF files. Chapter 5, Industrial-Strength Graphics Scripting with PerlMagick. In which we are introduced to ImageMagick and its Perl interface. ImageMagick is a collection of functions and a transparent interface for reading and writing over forty different graphics file formats. It is a great ``Swiss army knife for image conversions, scaling, cropping, and color management. It can handle file formats that contain multiple images in a single file, such as GIF89a. ImageMagick is (of necessity) a bit bulky, however, and may not be suited for all CGI programming tasks, though it certainly can be used for a lot of them. Chapter 6, Charts and Graphs with GIFgraph. In which we use GIFgraph to create graphs from data provided by an HTML form. GIFgraph is a Perl module that extends the GD module by offering a number of functions for creating many types of graphs and charts. For quite a while, almost all of the financial graphs or web server load graphs that you would find on the Web were generated by CGI scripts using GIFgraph to generate the images. Chapter 7, Web Graphics with the Gimp. In which we learn how to use the Gimp-Perl module to create custom plug-ins for the GNU Image Manipulation Program. The Gimp started out as a free ``Photoshop-like program. It would be inaccurate to call the current version of the Gimp a Photoshop clone, however, as the Gimp has surpassed Photoshop in certain areas, and has marked out new territories for, image manipulation. The Gimp has a sophisticated scripting interface (several, actually). In this chapter, we use the Gimp-Perl interface to write Gimp plug-ins. Chapter 7 is supplemented by Appendix B, which provides a reference guide for the Gimp, and Appendix C, which provides a reference to the procedures available to Gimp-Perl scripts. Part III, Dynamic Graphic Techniques, focuses on specific web-based graphics applications: Chapter 8, Image Maps. In which we discuss client-side (and server-side) image maps and create an example script that generates image map regions on the fly from data retrieved from a database. Chapter 9, Moving Pictures: Programming GI Animation. In which we are presented with seven easy GIF animation, scripts using ImageMagick, and are introduced to a home-brewed language called GIFscript that describes the structure of animated GIF files. Chapter 10, Web Graphics Cookbook. In which we are presented with a number of common web graphics recipes, with reusable code examples written in Perl. Chapter 11, Paperless Office? Not in Our Lives: Printing and the Web. In which we are introduced to the PostScript page description language, and develop a framework for easily generating PostScript code to leap the separation between the Web and the printed page. Part IV, Appendixes, supplements Chapters 1 and 7.






Describes a project that uses

Uses Software






This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4240112)