Print

How To >> Browse Articles >> GIMP

Rate

Create a Glassy Button Using GIMP

Create a Glassy Button Using GIMP

Kevin Bibo

PART 1: CREATE THE IMAGE

1. Open The Gimp

2. Select File>New (Ctrl+N)

3. In the Create a New Image dialogue box set:

a. Width: 110 pixels

b. Height: 55pixels

c. Under the Advanced Options

i. 72 ppi

ii. Colorspace: RGB color

iii. Fill with: Transparency

4. Click OK.

5. File>Save As… (Shift+Ctrl+S) name the file “button3.xcf” and save into your Documents>originals folder.

PART 2: THE BUTTON

1. Zoom to 400%

2. Create a new layer. Name it Base. Set the Layer Fill Type to Transparency.

3. Change the foreground color to a medium gray.

4. Select the Brush tool.

5. In the Brushes Palette select the new brush button.

6. In the Brush Editor dialogue box set:

a. Radius: 20

b. Hardness: 1.00

c. Spacing: 1

7. Click the Save button (looks like a floppy disk)

8. Click in the left side of the canvas. Hold down the Shift key and click again in the right side of the canvas to create an oval shape.

9. Save (Ctrl+S)

PART 3: WORKING WITH LAYERS

1. Select the Base layer to make it the active layer. Click the Duplicate layer button in the Layers palette twice to create two copies of the Layer

2. Name the layers Top and Bottom. The stacking order should now be Top/Bottom/Base/Background.

3. Click the Top Layer to make it the active layer.

4. Click the Elliptical Marquee tool (Shift+Ctrl+M). Create an oval selection that cuts through part of the gray rounded rectangle and through part of the space below it and slightly to the right.

5. While still selected make the top layer as your active layer and clear the selection by selecting Edit>Clear (Ctrl+K).

PART 4: GRADIENTS

1. Reset the foreground and background colors to black and white.

2. Select the Top Layer.

3. Click the Select regions by color tool (Shift+O). Set the Threshold to 0. Select the remaining gray in the layer.

4. Click the Gradient tool (G). Select FG to BG (RGB) for the Gradient. Fill the top layer with a white to gray gradient.

5. Select Filter>Blur to blur the top layer a bit (1 or 2 pixels) to make the gloss line smoother.

6. Select the Bottom Layer. Fill the gray oval in the Bottom layer with a gray to white gradient.

7. Save (Ctrl+S)

PART 5: CREATING THE RING

1. Click on the Base layer to make it the active layer.

2. Click the Select regions by color tool (Shift+O).

3. Click the gray oval shape on the Base layer.

4. Click Select>Contract. Contract by 2 pixels.

5. Click Select>Inverse (Ctrl+I).

6. Click on the Top Layer

7. Select Edit>Clear (Ctrl+K) to delete the selection.

8. Repeat on the Bottom Layer.

9. Save (Ctrl+S)

PART 6: TEXT

1. Set the foreground color to White.

2. Select the Text tool (T) and type the word “HOME” using any 20-point font.

3. Use the Move tool (V) to move the layer into position.

4. You may have to tweak the transparency of the layers to make it look perfect.

5. Save (Ctrl+S)

PART 7: SAVE FOR THE WEB.

1. Select the Background Layer.

2. Select Layers>Mask>Add Layer Mask… At the Add Layer Mask dialogue box select White (full opacity). Click OK.

3. Select File>Save As… (Shift+Ctrl+S) and name the file home3.png, into the “Documents>beta_images” folder. It’s important to add the .png extension.

4. At the Confirm Save dialogue box click Confirm.

5. At the Export File dialogue box click Export.

6. At the Save as PNG dialogue box deselect Save background color. Click OK.

7. Now open home3.png in a browser window to check your work.

8. You can return to Part 6 to add different text for different buttons. Just make sure you use a different button name when you save.


Find the right campus or online art or design program for you!