Strategies for effective use of intelligent graphics in Web applications
John C. Gebhardt
Greg Gallant
Find


Abstract
No abstract was provided for this paper.

Contents
  1. Introduction
  2. What are "Intelligent Graphics"?
  3. Creating and managing intelligent graphics
    1. Hand-crafted intelligent graphics
    2. Creating intelligent graphics from reusable components
    3. Summary and conclusions
  4. Bibliography

Introduction
Graphics are essential content elements in many Web documents and applications. In general, we would all agree that good graphics make Web applications easier to use and understand and provide very intuitive mechanisms for human users to interact with and control complex business processes and information. On the other hand, a very small fraction of the population has the artistic talent to design and create good graphics. In order to be able to effectively deploy highly visual and interactive Web applications economically, we need to develop strategies for managing intelligent graphical content that maximize the efficiency of our very scarce and precious artistic resources so we can economically archive the high levels of utility and ease-of-use in our Web applications that we all are striving for yet seldom achieve.
Fortunately, new, Web standards such as WebCGM and SVG make it possible to create and deploy intelligent, scalable graphics in Web applications in open, non-proprietary environments. As tools emerge which implement these new standards, new opportunities to use graphics in new and exciting ways are appearing all the time. The emergence of these new graphics standards and technologies has made it possible to create graphics-intensive Web documents and applications which do not consume the large chunks of bandwidth typical of Web Pages which use traditional image-based graphics.
This paper explores various strategies for deploying graphics-intensive documents in Web-based applications using existing and emerging W3C graphics standards. The raster graphics formats currently in widespread use on the Web such as GIF, JPEG, and PNG have limited capability for scaling and interactivity. The new standards such as WebCGM and SVG are much more flexible and versatile, giving applications architects many more options for using graphics in their applications.
For example, the ability to zoom, and pan a WebCGM or SVG graphic make it possible to use much more detailed and complex drawings in Web-based applications. The new graphics standards also provide the capability to attach hyperlinks and other metadata to pieces of a graphic. How the hyperlinks and metadata are authored and managed is a critical issue.
Finally, some of the issues surrounding the creation and management of graphics for Web applications are discussed. Because graphics are expensive to create and maintain, and not all browser implementations support graphics standards uniformly across all platforms, graphics reusability and interoperability are high priority issues. The paper discusses some of the techniques and trade-offs for creating and managing intelligent graphics so that graphics-rich applications can be economically deployed in today's Web environments.
Previous Previous Table of Contents
What are "Intelligent Graphics"?
"Intelligent Graphics" as graphics that contain graphical objects and associated metadata that cause the graphical objects to be responsive to user-generated or external events. A typical response might be that a graphical object changes color and displays a message identifying itself when a user "points" to it on a display screen. If the user "clicks" the pointing device while pointing to the object, it could present the user with a menu of choices of possible hyperlinks to execute. Another typical response might be that one or more graphical objects moves from the "assembled" position relative to other objects in the graphic to the "disassembled" position in response to the user "pushing" (by clicking) a graphic which depicts a push button labeled "Disassemble".
Intelligent Graphics are typically made up of graphical objects -- images, lines, arcs, curves, text, symbols, paths, groups of objects, overlays, etc.; attributes which describe how the graphical objects are to be presented -- line weight, line type, text font, fill color, etc.; composition rules which describe a coordinate system and the relative layout of the objects; and metadata which describes how the graphic will respond to user-generated or externally generated events.
A typical intelligent graphic which might be integrated into an e-commerce service, support, and spare parts procurement system is shown in Figure 1.
Figure 1 . Typical intelligent graphic used in an illustrated parts catalog
There are several different ways to represent intelligent graphics for use in Web applications. There are four important open, non-proprietary Web graphics standards and several proprietary ones which are in use or advanced development as this paper is written. We will briefly discuss the capabilities of each, concentrating on the open standards.
Open Web graphics standards

Other Web graphics standards

Previous Previous Table of Contents
Creating and managing intelligent graphics
The creation of intelligent graphics for Web applications can be approached in several different ways using a variety of tools and any of the standards described above. The best approach to use depends on a variety of factors. The most important factor is to determine the role of the graphic in the context of the overall Web application. This factor alone will often drive the choice of creation technique and presentation format. We will describe several common scenarios where intelligent graphics could be used and describe appropriate techniques and formats for each situation.
Hand-crafted intelligent graphics
In many cases, the role of the graphic is merely to draw interest to the page, such as an advertisement. If successful, the graphical content will help attract traffic to the site. The potential to generate direct and indirect consumer revenue often justifies the investment in creative talent and the creation of a one-off, unique presentation, including sophisticated animations. If the graphic is intended to be presented to a wide audience, the ability of mainstream Web browsers such as Microsoft's Internet Explorer and Netscape's Navigator to render the graphic must be seriously considered. Casual Web surfers are often reluctant to download ActiveX Controls, Netscape Plug-ins, or Java applets in order to be able to view content. For these consumer-focused, advertising applications, the best strategy is usually to use a good graphics design/animation tool to hand-craft a series of raster images which, when played in sequence, will produce the desired animated effects. A logical choice for a format to represent these graphics is the GIF format since virtually all browsers support GIF rendering natively. The major drawback of using GIF is that GIF files are bandwidth hogs and animated GIFs compound the problem. The designer must make the difficult choice between visual impact and download time. Usually, the choice is made in favor of minimizing download time and designers opt for small, carefully crafted, animated images with the absolute minimum number of frames necessary to convey a realistic sense of motion.
Hand-crafting large, animated, interactive pages - the Web equivalent of "full-page ads" - that load in a reasonable amount of time, is technically feasible using tools and one of the newer vector or hybrid formats such as SWF, VML, or SVG. However, the ability to view and interact with the page is dependent on which version of which browser is installed and whether the appropriate control, plug-in, or Java virtual machine has been installed. If and when SVG is adopted by the mainstream browser manufacturers, it will be a good choice for representing this type of page. In the meantime, SWF is being used extensively to design and craft interactive pages with high visual impact.
For sites designed to be used on a regular basis by relatively sophisticated users, the necessity to carefully configure the browsing environment to match the content is an acceptable inconvenience, at least in the short term.
These hand-crafted pages combine graphical components and metadata into monolithic functional units. They work well and can have high visual impact, but in general, hand-crafted graphics are expensive to create, consume scarce artistic resources, and are difficult to manage and maintain in the context of a large, complex, e-commerce environment. If any change is necessary, the entire page must be edited and republished. This process is illustrated in Figure 2.
Figure 2 . Hand-crafted intelligent graphics publishing process
Creating intelligent graphics from reusable components
In many e-commerce applications, the primary focus is to "Web-enable" existing business processes. Typical processes such as sales, procurement, customer support, service and repair are on-going operations in virtually every enterprise. These processes depend on large repositories of valuable information, including graphics. It is essential that as much of this existing legacy information be reused and repurposed as possible. Otherwise, the cost of deploying and managing e-commerce applications becomes prohibitive.
Turning a graphic produced for paper-based or other application into an intelligent graphic optimized for Web applications presents a number of challenges:
Legacy graphics challenges

By applying careful systems design concepts and incorporating a server-side graphics server, most, if not all, of the above challenges can be met and the cost of deploying graphics in Web applications can be significantly reduced.
Figure 3 . Component-based intelligent graphics publishing process
First, you must determine whether the graphics can be rendered on a Web page at sufficient quality without the user having to zoom in. The result of this analysis will help you choose the appropriate format. For example, if you need to deploy complex illustrations such as contained in the illustrated parts catalog of a commercial aircraft, you will have to allow your user to zoom in or magnify the content, otherwise detail will be lost. One of the scalable vector formats such as WebCGM would be an appropriate choice for this type of graphic. On the other hand, if most of your graphics are color photographs which can be represented adequately at typical screen resolutions you should look first at GIF, JPEG, and PNG.
The next step in designing an intelligent graphics management system is to decide how you want your users to be able to interact with the graphics. The choices here range from publishing purely static raster graphics to fully animated, interactive, hotspotted, scalable graphics from reusable components.
The third step is closely related to the previous one. To provide intelligent graphics solutions which are easily maintained, it is very important to carefully analyze your graphics and break them into logical components. In some cases, these graphical objects will be bound to intelligent metadata such as hyperlinks. In other cases, the graphical objects will be used to create animations. In other cases, the objects will be created, when needed, from information contained in other databases. For example, the parts in Figure 1 can be associated with various other information via hyperlinks. If the user was repairing the equipment, the hyperlink could point to repair instructions. If a new part needed to be ordered, the hyperlink could point directly to the spare parts procurement application. If training was required, the hyperlink could point to a CBT (Computer-based training) module where the same graphical objects are used in an animation illustrating how to remove and replace the part.
Another example of intelligently building Web graphics from components is shown in Figure 4.
Figure 4 . Static image created on demand from components
In this case, the background image of the product (in this case a computer system, can be composited with the retailer's logo, the current price, and the current status. The background image can be used over and over and the other information can be retrieved from the retailer's ERP system at the instant the Web page is requested.
If you choose your graphical objects carefully, you may be able to create them automatically from the source graphics or data. For example, if we had chosen to only use the callout numbers in Figure 1 as the hotspots, the process of creating the hotspots could have been easily automated. By searching for the text strings in the drawing and performing a simple pattern match to filter out all text except callouts, intelligent objects can be created from the graphic.
Your ability to revise an intelligent graphic with minimal effort depends directly on how the graphics are maintained in the repository and how well the source graphics are structured. The best revision control strategy is to maintained a highly granular structure of graphical components and associated metadata, with version control on each small component. Then if one or more components need to be revised, new versions of the changed components can be added to the repository. An efficient, quality assurance process can then be designed that focuses attention on the changed components.
If the legacy graphics from which the intelligent graphics are derived are also structured into objects aligned with the structures maintained in the repository, then the process of incorporating a revised legacy graphic into the repository can be largely automated. The structures in the repository can be compared to the structures in the replacement graphic and changes can be detected. These changes can be "highlighted" to make the update process as efficient as possible.
If the legacy source graphics are not structured into objects, the existing graphics and the replacement graphics cannot be automatically compared, and the update process becomes more difficult. However, if the object structures are constrained to this which can automatically and reliably derived from the source graphics, then the legacy graphics can be processed into objects as part of the revision process.
Summary and conclusions
Good graphics make Web applications easier to use and understand and provide very intuitive mechanisms for human users to interact with and control complex business processes and information. But until recently, creating and managing of large repositories of hand-crafted intelligent graphics was difficult and expensive.
However, by separating the graphics into reusable components or graphical objects, and by further separating the metadata associated with those objects, server-side intelligent graphics management systems can be deployed which combine the appropriate graphical objects and metadata into final-form intelligent graphics on demand.
Also, by utilizing one or more of the emerging scalable Web graphics standards such as WebCGM or SVG, these intelligent graphics can be served to Web clients very efficiently, with minimal bandwidth and maximum quality, thereby improving the users experience.
By maximizing the reuse of graphical components, minimizing the requirements for manually authoring intelligent behavior, automating the graphics revision process as much as possible, and utilizing the new Web graphics standards, the large scale deployment of intelligent graphics becomes economically attractive.
Previous Previous Table of Contents
Bibliography
[PNG] PNG (Portable Network Graphics) Specification Version 1.0 W3C Recommendation October 1,1996; http://www.w3/TR/REC-png.html
[WebCGM] WebCGM Profile, Version 1.0; January, 1999; http://www.w3/TR/REC-WebCGM.html
[GIF] GRAPHICS INTERCHANGE FORMAT(sm); Compuserve, Inc, 1989; http://ftp://ftp.ncsa.uiuc.edu/misc/file.formats/graphics.formats/gif89a.doc
[SVG] SWF File Format Specification; Macromedia, Inc;1998
[WebCGM1] WebCGM - Industrial Strength Vector Graphics for the Web; CGM Open Consortium, Inc.; Gebhardt and Henderson, 1/28/99.
[SWF] W3C Working Draft: Scalable Vector Graphics; http://www.w3/TR/SVG.
[JPEG] JPEG JFIF; http://www.w3.org/Graphics/JPEG.
[ACGM] ActiveCGM Profile; Micrografx, Inc.; http://http:micrografx.com/intercap.
[VML] Vector Markup Language (VML); May 13, 1998; http://www.w3.org/TR/NOTE-VML
Previous Previous Table of Contents