Hello Bar

Showing posts with label gridlines. Show all posts
Showing posts with label gridlines. Show all posts

Saturday, April 14, 2012

Through a Keyhole

 

In this GIMP project, you will learn how to use layers, selection tools, the stroke dialog, and filters in creating the effect of looking through a keyhole.

imgfini.jpg

Start by creating a new image 600 pixels wide by 800 pixels high. Open the image that you want to appear through the keyhole as a new layer, File > Open as Layers… . Note: It may be necessary to scale and/or reposition this image to get the best effect.

img01.jpg

  • Making the keyhole.

Create a new layer, brass, on top. With the Bucket Fill Tool, fill it with a brass-like color. I used #8a4500.

img02.jpg

Set gridlines every 25 px in the Preferences panel, Edit > Preferences. In the View menu, turn on Show Grid (the box is checked).

Using the Paths Tool, draw a tall, narrow trapezoid, as shown below, to be the lower part of the keyhole. Suggestion: Dragging out guides can make the selections easier.

img03.jpg

Now, in the Tool Options click the Selection from Path button to turn the path into a "marching ants" selection.

img04.jpg

With the Ellipse Select Tool (in Add to the current selection mode) draw a circle to be the top portion of the keyhole as shown below.

img05.jpg

Be sure brass is the active layer. Clear the contents of the keyhole-shaped selection, Edit > Clear. In the View menu, turn of the grid and guides.

img06-1.jpg

  • Putting a slight edge around the keyhole.

Create a new layer named edge on top. Make sure edge is the active layer and stroke the selection, Edit > Stroke Selection…, click the radio button for Stroke with a paint tool, and choose Paintbrush from the drop-down menu. In the Tools pallet, select a paintbrush of about 3 pixels. Set the color to a very dark brown (#532a00). Finally, in the Stroke Selection dialog, click Stroke.

img07.jpg

  • Put a little bit of shadow inside the edges of the keyhole.

Make a new layer on top, inside shadow. Using Stroke Selection again, chose the Stroke line style, a width of about 15 px, and solid default black, click Stroke. Then, remove the selection, Select > None.

img08.jpg

Apply a Gaussian blur with a radius of about 35, Filters > Blur > Gaussian blur… . Drag the inside shadow layer immediately under the brass layer. Decrease the opacity to about 75-80%.

img09.jpg

  • Add some shadow through the keyhole.

Create a new layer above the inside layer, name it gradient, and fill it with black using the Bucket Fill Tool. Add a layer mask to the gradient layer, right-click the layer in the Layers pallet and select Add Layer Mask… .

img10-1.jpg

Select the Blend Tool and choose a black-to-white radial gradient. Drag the Blend Tool vertically downwards in the lower portion of the keyhole to reveal the inside layer. You may have to experiment a few times to get a good result. Decrease the opacity to about 75%.

img11.jpg

As they say in Montreal, “Voila!” There are numerous opportunities for modifications and variations in this project, so be bold and have fun!

 

Wednesday, February 8, 2012

Clipping Masks

As you are likely aware, GIMP does not include a clipping mask function like some other image editors. A clipping mask allows a background image to show through holes in the masking layer and can be very useful. I looked around a little for a how-to on getting that kind of functionality in GiMP, but those I looked at didn't allow the background image that shows through to be repositioned after the mask was created. I think the ability to move the background is important to achieving just the right result, so I set out to figure out how this could be accomplished and discovered that it isn't at all difficult.

prevw.jpg

 

Some skills used in this project:

Text layer

Grids and guides

Layer effects

Selecting by color

merging layers

 

Open the image you want to show through and name that layer Background. Create a new transparent (must be transparent, not white) layer, White, and fill it with default white using the Bucket Fill Tool.

 

Click on the Text Tool to make a text layer. Use a heavy, bold font in default black. I used Futura Ultra Bold Condensed.

step01.jpg

 

Select then merge the text layer down onto the White layer, Layer > Merge Down. Select the black text on the White layer with the Select by Color Tool.

step02.jpg

 

Cut out the black text, Edit > Clear, then deselect. You may want to select the Background layer and move it around a little to get a better effect.

step03.jpg

 

That's the basics of making a clipping mask in GIMP.  With the Layer Effects plugin, you can get some dramatic looks. Get the plugin here if you don't have it yet.

 

I got this look by choosing the White layer and using the Outer Glow effect with the color set to black and everything else defaults.

step04.jpg

 

 

Now, I'll show you how to use this technique to give the impression a picture has been cut into sections and each section placed on a raised panel.

 

Open the picture, add the transparent layer, and fill it with white as above.

 

Display the grid, View > Show Grid. From the rulers, I dragged out guides to divide the image in half both vertically and horizontally.

step05.jpg

 

Next, using the Rectangle Select Tool in "Add to the current selection mode" and the gridlines, I selected four rectangles as shown.

step06.jpg

 

Cut out the rectangles, Edit > Clear, and deselect. Hide the gridlines and the guides from the View menu. (You may at this point want to reposition your background picture a little bit.)

step07.jpg

 

Add the shadow effect from the Script-Fu menu, Script-Fu > Layer Effects > Inner Shadow… . I bumped the size and offset both up to 8.0.

step08.jpg

 

For a final touch, I used the Bucket Fill Tool to fill the White layer with the Wood pattern from the default Patterns pallet.

step09.jpg