Why Filters? As I mentioned, filters and plug-ins extend the capabilities of a program such as Paint Shop Pro. Many of today's imaging programs are written to be extensible, which means that they can have their functionality extended through the use of add-on software. This technology enables other programmers to write software that literally can be plugged into the main program. If you've purchased and installed a plug-in program, it should be available under the Effects, Plug-in Filters menu in Paint Shop Pro. |
Where You Can Get Plug-ins
As I said earlier, some filters are included with Paint Shop Pro, and others are available from third parties. Most, if not all, of the companies that write plug-ins are on the Web, and some offer free demos of their plug-ins.
Using Built-In Filters
You've already seen examples of at least one of the built-in filters. I've used the Hot Wax Coating filter in a couple of examples to add even more texture to the woodgrain texture and to create a chrome effect. Paint Shop Pro has a few more built-in filters, though, and the nicest are the Effects filters, many of which were new as of version 6 with even more added to version 7. In fact, there are so many built-in filters available now, that I won't even list them all here. To see what's available, choose Effects from the menu and then choose a submenu, such as 3D Effects or Artistic. That should give you an idea of just how many filters come with Paint Shop Pro 7.
Buttonize Filter
The Buttonize filter (choose Effects, 3D Effects, Buttonize enables you to instantly create rectangular buttons from any image.
Using Third-Party Filters
Along with the filters that ship with Paint Shop Pro, numerous third-party filters (often referred to as plug-ins) are available.
Installing Plug-ins
Installing a plug-in package that can be used with Paint Shop Pro is a multistep process:
-
The first step is to install the software according to the manufacturer's instructions. These days, that usually involves inserting a CD-ROM into the drive and following a couple of short instructions.
The most important point to note is where on your hard drive the plug-ins are installed.
Normally, you'll want to keep all your plug-ins in separate folders under one main folder. For example, you might create a Plug-ins folder under the Paint Shop Pro folder and store all your plug-ins in separate folders there.
-
The second step to installing your plug-ins is to tell Paint Shop Pro where they are on your hard drive, which is the reason behind making a Plug-ins folder. After you've installed your plug-ins, choose File, Preferences, File Locations.
-
Choose the Plug-in Filters tab to bring up the Plug-in Filters options
Using the Retouching Tools Several kinds problems usually need correcting. Old snapshots often have scratches, dust spots, and bad brightness or contrast. Sometimes they have a less-than-sharp image because of the quality of the older camera lenses. You can fix the dust spots and scratches by using a combination of the Dropper, Paint Brush, Retouch, and Clone Brush tools. In addition, you can fix most brightness and contrast problems by using the Brightness/Contrast feature, and you can fix the sharpness by using the Unsharp Mask filter. Starting with version 7, you also can remove all but the worst dust marks and scratches using the new Scratch Remover tool. |
Retouching to Remove Portions of an Image
Besides retouching older images, you might simply need to work on an area of a photograph to change some portion of the image. For example, you might want to remove someone's braces or make minor corrections to a person's complexion.
Working with File Formats One of the main concerns for any Web page designer is download time. The simple fact is, if your Web page takes too long to download to a user's computer, that user might get bored and simply jump to some other place on the Web. One way in which you can ensure that your page takes a reasonable amount of time to download is to compress your images. Compression is a process that shrinks a file down to essential data only. As you might suspect, compression also takes a bit of the clarity and detail away from the graphic image—although some images are affected very little by compression. As we continue through this chapter, you'll learn to identify the compression method you should use for each image (yes, there is more than one method). So how do you compress a graphic image? Well, basically, you just save the file in a file format that uses compression. During the saving process, however, you can make some small changes to the way in which the file's compressed. This allows you to retain some additional clarity (while in turn, making the file bigger than it might normally be when fully compressed in that particular format.) Due to the current limitations of Web browsers, only two formats are available for Web graphics: GIF and JPG. Each of these two formats goes about compressing an image in its own way, and as you'll see in this chapter, each format is is a viable choice given a particular type of image. |
GIFs
GIF, or Graphical Interchange Format, is an image compression format originally developed by CompuServe. This format is one of the most popular formats for computer images. It also has a couple of features that make it appealing for Web graphics. Like any other format, though, it also has some shortcomings. In addition to lacking some desirable features, GIF has recently been surrounded by copyright infringement problems. The mathematical algorithm used to compress the image information, called LZW (for Lempel-Ziv & Welch, the mathematicians who developed it), is patented by Unisys. (An algorithm is a mathematical formula that can be programmed in computer language to perform a set of steps.)
Adjusting Color Depth
Color depth is a way of describing how many colors your hardware and software are capable of displaying. The buzzwords most often used are 8-bit, 16-bit, and 24-bit. Of course, color depth is sometimes described by the actual number of colors being displayed, such as 256 colors or 16.7 million colors.
Hardware is the real determining factor. Your Web browser, for example, will display as many colors as your system can use. The next limiting factor is the type of image being displayed. GIFs are capable of displaying only 256 separate colors. However, these colors can be chosen from all 16.7 million available colors. JPGs can display up to 16.7 million colors, which makes the JPG format a popular choice for photographs and other real-world images.
8-Bit Color
Eight-bit or 256 colors is what some systems use, although they are often capable of displaying more. Sometimes referred to as Video Gate Array (VGA), 8-bit is somewhat limited. With your system set to 8-bit, you're at the mercy of your browser software, as you'll see later, in the section on palettes.
16-Bit Color
Sixteen-bit color, often referred to as "hi color," is a good choice if your system's video memory is limited. Using 16-bit color is a great compromise between speed and color. With 16-bit color, up to 64,000 colors are possible (65,536 actually). With 64,000 colors, your Webviewing experience will be much more enriched. Using this color depth reduces the need for dithering.
Dithering, a process used to fool the eye into seeing more colors than are actually available, is discussed in depth a little later in this chapter.
24-Bit Color
Twenty-four–bit is the best color depth to use when creating and viewing computer images. To use this color depth, though, your video card must have at least 1MB of memory. The reason is that for each pixel you must have 24 bits (or 3 bytes) of memory available. With a little simple arithmetic, you can see that a 640x480 screen, which has 307,200 pixels (640x480), requires 307,200x3 bytes per pixel, which equals 921,600 bytes. Now that you have a basic understanding of color depth, it's time to look at palettes.

Using Palettes
Traditionally, a palette was a surface where an artist mixed colors before applying them to the canvas. In computer graphics, a palette is somewhat similar. Most graphics programs have a window where you can pick your colors. In certain circumstances, your color choices are limited. Those limited sets of colors also are referred to as palettes.
Palettes are more important when working with GIF images. Because of their limited color depth, GIF images can use only a select palette. This palette, though, can contain a different selection of colors. Sometimes you have control over the selection of the colors and, unfortunately, sometimes you don't.
Problems with Limited Palettes
One problem associated with limited palettes is that, if you choose to work with a limited palette while creating your images, many of the features of your graphics programs will not be available to you. Options such as drop shadows and blurring need to have access to the full range of colors to do their magic. The alternative here is to create your image using higher color depth and then reduce the depth.