This chapter gives you the opportunity to explore Filter effects such as blur, distort, enhance, and use artistic and map filters.
Anyone who’s ever gone to the movies or seen a television show is aware of the concept of special effects and visual effects. This is the process by which a visual, mechanical, or computer-generated image is integrated into the overall filmed narrative, with the goal of having the audience accept the effect as “real”. The effect can be completely illusionary, such as inserting the CGI of the Incredible Hulk into an actual filmed environment, or used to enhance an actual person or object, such as making it seem as if actor Elijah Wood is really the size of the hobbit Frodo Baggins.
The use of filter effects in GIMP is more of the latter for the most part; an application of different GIMP features to produce an overall visual modification to an existing image element. You’ve already seen how Gaussian Blur and Hurl noise effects can create a desired outcome. That’s only the start.
Many, but not all, GIMP filters use Script-Fu or what the Windows world calls macros. This is a method of creating a rule or set of rules that automates a repetitive task. When you apply a particular Script-Fu, you are actually applying a number of pre-set GIMP features that run in a particular order to produce a specific result.
As already mentioned, not all Filter effects rely on Script-Fu. A very commonly used effect, Gaussian Blur, is not an applied set of different features, but rather a specific blur method, although Gaussian Blur is sometimes used as part of a Script-Fu.
Regardless of the nature of one filter or another, filters, like layers, are a primary tool in the creation and modification of a wide variety of image effects you’ll use repeatedly in GIMP. It would be impossible to survey all of the available filters within the scope of this book, so the following collection of exercises will demonstrate only a selected sample.
You can watch a free video about using the polar coordinates filter when you log on to my.safaribooksonline.com/9780132174602/media.
LET ME TRY IT
In this exercise, you’ll learn how to apply an effect to text (though it works with any image) to create a logo or part of a logo. As part of the exercise, you’ll also get some additional experience using the Text tool and Patterns. If GIMP is not already open, launch it now.
Figure 6.1. The Patterns dialog is available for you to fill an image layer with a particular pattern.
Figure 6.2. The Polar Coordinates feature curves an image around the polar center of the image.
Admittedly, the desired Filters feature wasn’t presented until nearly the end of the exercise, but it’s a realistic scenario of how filters are used after a drawing has otherwise been created and prepared for the effect.
You can watch a free video about using multiple filters to create a textbased logo when you log on to my.safaribooksonline.com/9780132174602/media.
LET ME TRY IT
While a single filter can produce desirable and even dramatic effects, it’s more likely that you’ll use multiple filters and other techniques to achieve the look you desire. The next exercise is also working with text, but in a very different way.
Figure 6.3. Using the Bevel filter creates a second, duplicate image of the beveled object.
You now have a text logo that you can paste against any sort of background. In the case of this exercise, the text is rather light, so a black or dark background would be most suitable. The Flame filter can be adjusted using the Colormap menu on the Render tab to select a different color, and on the Camera tab, the X, Y, and Zoom sliders can change the apparent size and location of the effect on the canvas, thus changing the appearance of the effect in the text. The Hurl and Bevel effects can also be modified to create a different presentation and finally, the choice of font size and type can give many sorts of impressions.
You can watch a free video about reducing noise in a photo when you log on to my.safaribooksonline.com/9780132174602/media.
LET ME TRY IT
While GIMP is good at creating images such as logos or banners for a website, its real strength is as an image editor and particularly as a tool to enhance photographs. There are a wide variety of ways that an otherwise good image can have imperfections. Often the image will contain noise that detracts from the subject. There are a number of filters that can help correct this problem. The result may not be perfect, since even GIMP has to work within the reality of what’s contained in the photo, but they’ll certainly be better.
For this exercise, choose any photo that contains unwanted noise, such as graininess, and open it in GIMP.
Figure 6.4. The Despeckle filter reduces noise seen as RGB color “flecks’ by softening the image.
Figure 6.5. The finished product is a mix of filters that reduce noise and enhances sharpness in the image.
You can listen to a free audio recording about the Despeckle filter when you log on to my.safaribooksonline.com/9780132174602/media.
You can listen to a free audio recording about the Unsharp Mask when you log on to my.safaribooksonline.com/9780132174602/media.
As you can see, this sort of enhancement is a compromise between reducing noise, which requires reduction of detail, and attempting to maintain or improve sharpness. Like any compromise, both competing elements don’t get everything they want, but the overall effect is usually an improvement.
You can watch a free video about adding lighting effects and lens flare in a photo when you log on to my.safaribooksonline.com/9780132174602/media.
On occasion, when you take a photo, a lens flare (wanted or unwanted) will appear in the image. If you want to add one to an image for artistic effect, GIMP easily provides that ability. Lighting effects in general, enhance images of objects that are metallic or glass, making them look sharper, shinier, or just plain cool.
For the purpose of the exercise, I’m using a photo of a very sleek sports car, but you can use whatever photo or graphic you deem suitable.
Figure 6.6. The Lighting Effects dialog contains a number of tabs and controls that let you configure how light effects are modified in an image.
You can listen to a free audio recording about the gradient flare filter when you log on to my.safaribooksonline.com/9780132174602/media.
The Gradient Flare filter is different from other filters including the somewhat similar Lens Flare filter. The Lens Flare filter creates the effect of you shooting an object that was being hit by sunlight creating a strong reflection. The Gradient Flare filter creates the effect of a photograph being taken of a brilliant light source, complete with halo and radiant light being emitted from around the source. Both filters are found in the Filters menu under Light and Shadow and may sometimes be used together.
As you can see, with just a very few steps, you can take a very slick photo of a sports car or other object and make it truly great. Both effects use a variety of GIMP features to apply the desired results, so it takes a few moments for you to achieve the final product, but it’s certainly worth it.
You can watch a free video about creating a dynamic desktop image when you log on to my.safaribooksonline.com/9780132174602/media.
LET ME TRY IT
The last few tutorials have shown you examples about how to correct and enhance photos, but sometimes you may want to create a completely different type of art. Many people like to personalize the desktop of their computers. Most of the time, a person will either select a pre-loaded wallpaper image on their computer or download something from the web. The following tutorial shows how to make a personalized wallpaper using filters.
Assuming you plan to actually use the wallpaper created in this tutorial on your computer’s desktop, you’ll need to know your screen resolution, so that you can create an image of the same size. In Windows XP, right-click on the desktop, select Properties, and in the Properties dialog, click the Settings tab to see the screen res settings. In Windows 7 (and I assume Windows Vista, though I’ve never owned a Vista machine), Click Start, Control Panel, Display, and in the Display dialog, click Adjust resolution to see the settings.
Figure 6.7. Use the Rectangle Select tool to create a banner across the top of your customized, abstract wallpaper.
Figure 6.8. The final version of the personalized wallpaper.
As you can see from the tutorial, you could have adjusted the background image and logo in a wide variety of ways to achieve any number of different effects. The wallpaper created in this example is just one expression of how to manufacture one. You could also have created banner text manually and added an image to enhance your “brand” in the wallpaper. With just a slight variation, the image could also be suitable for a personal website as a background or background with logo and banner.
You can watch a free video about creating a cartoon image of a photo without using the Filters menu when you log on to my.safaribooksonline.com/9780132174602/media.
In this age of social networking, we are all looking for new ways to “brand” ourselves in some manner or another. One way to do so is to create a customized avatar (no relation to the film) of your face. You may not want a realistic version of your face posted to the web, but what about a cartoon version of you? There are a number of services available on the web that will “cartoonize” your photograph for a fee, but you can do the same thing using GIMP.
For this exercise, you’ll need a “head shot” of yourself or at least of someone. For the purpose of this tutorial in this book, I’m using a photo of yours truly.
Figure 6.9. The Levels tool is used to reduce color gradients and magnify details.
Figure 6.10. Adjust the histogram levels to reduce the darkness of the image and increase contrast.
You may have to tweak the settings in the Levels dialog for each of the occasions you use it to produce the desired effect. While you probably won’t look like your favorite anime character, the result is a simplified version of your (or someone’s) face with thicker lines and exaggerated details that are indicative of a cartoon. The general effect you applied in this exercise is called high-pass filtering.
You can watch a free video about creating a cartoon image of a photo using the Filters menu when you log on to my.safaribooksonline.com/9780132174602/media.
You may have noticed in the previous exercise that you didn’t go anywhere near the Filters menu. There’s a reason for this. There is a “cartoonize” filter option but it may not work as well, at least all by itself, as the previous method. Nevertheless, here’s a way to use that filter and the Levels utility to produce a similar image.
Figure 6.11. The Cartoon filter increases line thickness and contrast.
Figure 6.12. The Cartoon filter increases line thickness and contrast.
I suppose it’s a matter of taste as far as which cartoon is better, so choose the one you like the best. You also probably realize that, with a bit of adjustment, you could use either method to generate identical cartoon images of the same photograph. If you feel daring, you can open the base photo again and reduce the number of colors in the image by clicking Colors and then Posterize. From there, use a variation of one of the two cartoon tutorials to see what you come up with.
Just opening the Filters menu produces a dizzying number of filter options and if you tried to explore the details under each selection, it could take you a great deal of time. This chapter has only introduced you to a small sample of filtering options and shown you how they work. Now that you’re familiar with some of them, continue to explore and see what else is available.