When companies are operating on a very tight budget, graphics tend to fall to the wayside. Unfortunately, many users still don't know about the GNU Image Manipulation Program (GIMP), an open source and free alternative to Photoshop. With GIMP, employees can get creative and build a library of images for the business. Here's a demonstration of a couple of GIMP's advanced techniques and tools.
One of the most powerful GIMP techniques you'll use is Layer Masks. A Layer Mask allows you to effectively combine layers together, making them only interact only in ways you like. I'll first show the end result, and then we'll work our way back to it.In Figure A, you see that we're striving for glowing purple eyes on a black and white photo. Figure A
Remember: This is the end result.
If you try to pull off the effect in Figure A without Layer Masking, you will fail because when you desaturate the colors on a layer, all colors on that layer are changed to shades of black and white. You need to use Layer Masking to accomplish this task.
Here are the steps to recreate what I've done. First, the layer must be duplicated, and then the top layer gets the desaturation.
- Open the original image.
- In the Layers And Channel window, right-click the image and select Duplicate Layer (Figure B).
- Select the top layer in the Layers And Channels window.
- In the main window, right-click the image, go to Colors | Desaturate, and then click OK.
You will not have the Layer Mask shown in this image yet. We'll create that soon.
The next step is to go to the bottom layer and create the glowing eyes by selecting a color, selecting the brush you want to use, and drawing in the color for the eyes. Now it's time to create the Layer Mask by going to the Layers And Channels window, right-clicking the top layer, and selecting Add Layer Mask.
In the resulting window you have seven choices. The Layer Mask type you want is White (Full Opacity), which means everything will show on the Layer Mask except what we erase. What is erased will allow what is in the bottom layer to peek through. To make this happen once you create the glowing eyes, follow these steps:
- Click the top layer from the Layers And Channels window.
- In the main window, select the Erasure tool. It's very important that you make sure the color white is in the foreground.
- Using the Erasure tool, erase the image of the eyes to reveal the glowing eyes beneath.
- Once you have it exactly as you want it, right-click the top layer in the Layers And Channels window and select Apply Layer Mask. Your glowing-eyed image is ready to save. I highly recommend you save the image as you work in the GIMP's native .xcf format so you can retain all attributes of layers. When you finish with the image, you can save it in whatever format you like.
The Perspective tool
Let's add some text to that image using the Perspective tool, which allows you to create an object and then change the perspective of the object, giving it somewhat of a 3D feel. Here's how to add text to our sample image:
- Add a new layer to the image by clicking the "+" button in the Layer tab of the Layers And Channels window.
- Select the Text Tool and then configure your Font, Size, and Font color.
- Type the text you want to add into the layer.
- Select the Perspective tool (Figure C).
- Using the handles around the text, click and drag until you have the perspective exactly where you want it.
- Click the Transform button in the new window that appears.
Once you click the Perspective tool, the options in the lower portion of the window will change, allowing you to configure how the perspective is handled.Figure D shows the newly added text with the perspective changed. Figure D
The text jumps out at you and better follows the design of the image.
Shear the textLet's take this one step further and adjust the shear of the text. The shear allows you to change the tilt of an element, effectively shifting a section of an image one way and another in the opposite way. To do this, select the text layer and then select the Shear tool (it's to the left of the Perspective tool). Now, go to the text box, click the bottom left or right corner, and drag the box either to the left or the right (Figure E). Figure E
Until you click the Shear button in the Shear window, you can continue to manipulate the text box.When you complete your shearing, click the Shear button to apply the changes. Figure F illustrates the effect of the Shearing applied. Figure F
The text now looks even more dimensional.
Thanks to these advanced tools, you now have the means to really make your graphics stand out. When we cover GIMP in future DIY posts, we'll illustrate more great techniques and tools. Until them, happy "gimping!"
Jack Wallen is an award-winning writer for Techrepublic and Linux.com. As an avid promoter/user of the Linux OS, Jack tries to convert as many users to open source as possible. His current favorite flavor of Linux is Bodhi Linux (a melding of Ubuntu and Enlightenment). When Jack isn't writing about Linux he is hard at work on his other writing career -- writing about zombies, various killers, super heroes, and just about everything else he can manipulate between the folds of reality. You can find Jack's books on Amazon, Barnes & Noble, and Smashwords. Outnumbered in his house one male to two females and three humans to six felines, Jack maintains his sanity by riding his mountain bike and working on his next books. For more news about Jack Wallen, visit his website Get Jack'd.