You are on page 1of 11

Straight Line Tutorial Text and images Copyright (C) 2002 Seth Burgess and may not be used

without permission of the author. Intention

This tutorial shows you how you can do straight lines with GIMP, using a feature called the Shift Key. Straight lines are a convenient way to make things that aren't so terribly affected by the imprecision of a mouse or tablet, and to take advantage of the power of a computer to make things look neat and orderly. This tutorial doesn't use Straight Lines for complex tasks; its intended to show how you can use it to create quick and easy line effects. Step 1

The invention called the typewriter introduced the Shift Key. You generally have 2 of them on your keyboard. They look something like the picture on the left. They are located on the left and right sides of your keyboard. The other invention, called the Mouse, was invented by Douglas C. Engelbart in 1970. These come in different varieties, but always have at least one button located on them. They are located on your desk, or sometimes on a mouse pad. Step 2

First, create a new image. Any size will do. Step 3

Then click on the paintbrush. Any of the red-highlighted tools on the above toolbox can do lines. Step 4

After you click the paintbrush tool, you can click the image. A single dot will appear on the screen. The size of this dot represents the current brush size, which you can change in the Brush Dialog. Now, lets start drawing a line. Hold down the Shift button, and keep it down. Step 5

After you have a starting point, and have held down the Shift Key, you'll see a line like above if you're running GIMP version 1.2.x or later. This feature was not present in GIMP version 1.0.4. However, the next step works the same way. Press the first button on the Mouse (the leftmost one usually) and then let it go. During that whole "click" of the Mouse button, you need to keep the Shift Key held down. Final

See how the line is drawn on top of the preview? This is a powerful feature of the Paint Brush. You can use it with any of the tools shown in step 4, or even draw more lines at the end of this one. Our last step is to let go of the Shift key. And there you have it. Some more examples are shown below. Questions? Comments? Let me know. Happy GIMPing! Seth Examples

This one I turned on gradient in the Paint Brush Tool.

This one I rendered a grid, and then used the Smudge Tool with a low spacing and a slightly larger brush.

This one I used the Clone tool, and set the source to "Maple Leaves" pattern.

This one I rendered a plasma cloud, and used the Erase Tool with a square brush.

This one I used the Dodge tool on the top and left of a blue box, then used the burn tool on the right and bottom.

Red Eye Removal Text and images Copyright (C) 2002 Carol Spears and may not be used without permission of the author. Editor's note: since this tutorial was written, the Red Eye Removal plug-in has been included in the default GIMP package (see Filters -> Enhance -> Red Eye Removal). This tutorial is still useful if you want to do things by hand. Intention It used to be that the photos with red eye weren't really worth fixing as only cheesy cameras had the flash built in and underneath the red eyes was a crappy photo. Well, welcome to the future when you can get a pretty good image from a camera with the flash built in. They do not have a button that works to prevent this yet, so don't even try it. The best way to fix red eye on photos is to have those intense people look at the photographers shoulder. The cause of red eye is the flash reflecting from the back of the eye and into the lens. So, until this lovely child is able to understand "look at my shoulder" it is good to know that red eye can be fixed, somewhat. I learned the following method from tigert while lurking on the irc late late one night. Step 1

I zoomed in on the image, 4:1 ratio, as this is almost pixel by pixel work. I ended up using the 5 x 5 fuzzy brush that came with the GIMP tarball. As usual, your choice depends on the resolution of your image. A fuzzy brush is highly recommended. On this web sized image, the 3 x 3 fuzzy brush didn't work fast enough. As always, you can <Image> Edit -> Undo until you make the right selections. Step 2

A long time ago, someone suggested on the gimp-user list that the Layers, Channels and Paths Dialog always remain open while you use GIMP. Some three years later, I still follow and give this advice. So, if your Layers,Channels and Paths Dialog is not open, open it and leave it open. Select the Channels Tab. Deactivate the Green and Blue Channels by clicking to the right of the thumbnails in the dialog window. The image should still look like the screenshot of the close up in step 1. If it looks all red, you have just turned the view of the color off. (burning the red eye area will not work if the Layers,Channels and Paths dialog is set up that way, I happen to know).

Step 3

Make certain you have a good brush selected (for this image I used the 5 x 5 fuzzy) Then select the Dodge and Burn Tool. Double click on the button to get the Tool Options dialog. My dialog defaults to dodge and midtones, for this project, choose burn and hightlights (as illustrated). Touch all of the red in the eyes with the burn tool. I think that I used the burn tool on the midtones just a little bit also. GIMP doesn't have a magic button to fix red eyes with, but it has the tools. It has been my experience that each image is slightly different and I sort of like the control that GIMP gives you ... tigert warned that this method can leave the white spots in the eyes slightly green. I have found this to be true, however so far it hasn't been enough green to worry about. Given a photo where the green will make a difference, you can use the same tool combination on the green channel, just move the opacity slider to a smaller percentage. <Image> Edit -> Undo until you get it right. Final

... looking so much better! The very best fix, of course would be to prevent it from happening. Due to the nature of the problem, my guess is that it will be the same people over and over again with this problem. Some personalities have no problem looking deeply into the camera lens (like this beautiful baby for instance) and maintaining the gaze through the flash. My guess is that as soon as these people know what is going on, they can fix it themselves. Other personalities have other portrait problems. There is a small handful of people who have no problem looking into the camera lens, but anticipate the flash and blink at the wrong moment. This causes the portrait to look like the object is starting to sneeze. (this is what happens to me) If you know of a method to prevent this, please email me.

What a cute baby. This is Maurits and his baby. He is one of a growing list of developers that are changing their babies while working on GIMP. I watched work on WinGIMP occuring between diaper changings and feedings also. *chuckle* Borders On Selections Text and images Copyright (C) 2002 Francisco Bustamante Hempe and may not be used without permission of the author. Intention Since GIMP is an image manipulation program and not a painting program it doesn't include tools to draw shapes like squares and circles. However this doesn't mean you can't paint them, in fact there are some interesting options regarding this subject when it comes to GIMP. The solution is to use the selection stroking capabilities of GIMP.

This option can be accesed on the image menu (right button click on the image), by going to <Image> Edit -> Stroke Selection. Step 1

Before doing that however we need to make a selection with the shape we want. There are several ways to make a selection, including all the tools in red shown above and select by color as explained on Selecting and removing one color . When using the tools, holding shift at the beggining of the selection process will add the selection to what is already selected, while holding the control key will substract from it. Step 2

Use the selection tools to create a selection with the desired shape. Step 3

After you have the selection, choose a brush from the brush selection dialog. Choose also a color and you can play with the spacing option for the brush. Brush selection dialog Step 4

When all the options are selected you can click on <Image> Edit -> Stroke. You will get a dialog allowing you to set many options for stroking your selection, including dashed lines and other fancy features. If you select Stroke Using a Paint Tool, you will be able to use the brush that you have selected. Step 5

When all the options are selected you can finally click on OK. Using a fuzzy brush and selecting a blue color here is the result for the selection made above. Examples

Playing around with the spacing options in the brush selection dialog, the color or using one of the animated brushes you can get very interesting results.. here are some examples. The Basics Tutorial Text and images Copyright (C) 2002 Jens Lautenbacher and may not be used without permission of the author. Intention On this page, the first section of our ever growing (?) collection of tutorials, I will demonstrate the basic operation you will need to perform over and over again in your life as a computer artist: Generate isolated parts of a picture and combine them with a random background. What we want to achieve in this example is to generate a 3-dimensional text logo flying (and movable) over the background (a simple uni-color layer in our case, but you will easily see that you could use any other (stack of) layers/images instead. Start with a plain white picture, black as the foreground color and open the layer dialog!

Adding text

Use the text tool to add some text. You will get a new text layer which you can also see if you look at the layers dialog. You can use the move tool to move the text where you like to have it. Then merge it with the white layer below by choosing Merge Down from the Layer menu. You should now have one layer with black text on white background. Using <Image> Colors Invert you will achieve something like the picture above. Adding colors

First of all: Blur the image a bit using <Image> Filters Blur Gaussian Blur (a value of 5 may be a good start). Now add a new layer to the image with the help of the New Layer button in the layers dialog. Choose it to be white. It will be created above the just made text layer effectively hiding it. It will be active which can be seen from the fact that it has a blue background in the layers dialog. Click some times on the eye symbol to see how you can make a layer invisible and make the other layer active by clicking on its small preview in the layer dialog. At the end, leave the new white layer visible and active. Use the plasma plugin to make this layer a little colorful: <Image> Filters Render Clouds Plasma (Yes, you are invited to experiment with the parameters...). The layer dialog should look something like this now:

Bumpmapping

It's getting funny now: Use the bumpmap plugin with the blurred text layer as a bumpmap on the plasma layer. You can play with the other parameters, but they have sensible defaults. You'll get an image like the one above. Now (still on the plasma layer) choose Add layer mask from the layer dialog menu. Choose the mask to be white. Nothing will change on the image for now, but the layer dialog will look like this:

You can toggle whether a layers mask or the actual picture is active by clicking on their previews in the layers dialog. Using the layer mask

Now activate the text layer again. (you don't have to make the layers on top invisible to work on this layer. It's enough that you activate it in the layers dialog.) Now do <Image> Edit -> Copy. Make sure you have the mask of the top layer selected and the layer is activated. Choose <Image> Edit -> Paste. You will again get a floating selection, shown in the layer dialog like this:

Use the layer dialog menu to Anchor Layer, which will anchor the floating selection into the previous activated layer (which is the mask of the plasma layer in our case). This will leave you with the following scenario:

Adjusting the levels

Now add a new layer and fill it with some color (e.g. with the help of the bucket fill tool) and use Raise Layer or Lower Layer from the layer dialog menu to achieve something like this:

Now you'll see that the image of the logo isn't very sharp. We'll change this now. Make sure you have selected the plasma layer's mask and open <Image> Layers -> Colors -> Levels. This tool is one of the most important tools you have! Play with the little triangles you'll see in the two grey gradients and watch their effect on the image. For now, try to achieve something like the following:

What we do here is making the border of the mask sharper, and by that means, sharpening the whole picture (the area which is neither 100% opaque nor transparent will become smaller). But we can easily avoid the picture getting pixelsteps by leaving still a smooth transition between opaque and transparent parts of the layer. (If you didn't realize it by now - I bet you did - the layer mask works in such a way that all black parts of the mask will become transparent parts of the layer and all white parts will stay opaque (with smooth transitions realized by values of grey). Creating a drop-shadow

Using the layer menu you will have noticed the entry Duplicate Layer. Use this now. Then use Apply Layer Mask and Lower Layer which should leave you with something like this:

Make sure you check the Keep Transparency option (the little box next to the layer mode) and then fill that duplicated layer with black. You can paint over the text with a paint tool or simply drag a black color from the color selector and drop it over the image. You do not have to be careful: the Keep Transparency button will let you paint only on opaque parts of the image. This will give you:

Now make sure you uncheck the button again and move the layer some pixels to the right and downwards. You can move it with the Move tool while pressing Shift so that it moves the current layer instead of picking a new one. (Alternatively, can use <Image> Layer -> Transform -> Offset and enter a small offset for both X and Y: this will offset the contents of the layer without moving the layer itself.) Then blur your layer and adjust the transparency with the slider so the background will shine through: You've just generated a so-called drop shadow, which greatly enhances the 3D effect and is used in very many places.

That's it! Now have a lot of fun making flying logos!

You might also like