In this tutorial we are going to create a 3D-button in GIMP that looks like this:
I will assume that you have GIMP installed, if not go to gimp.organd download the latest version and install. Open GIMP and create a new images with the size 400×400. Select the circle tool and create a full size circle:
Create a new layer (we never want to start working on the base layer).
Select the gradient tool and with the colors black and white draw a line from top to bottom:
Go to the select menu, choose shrink and enter 4px:
This will shrink the circle selection with 4 pixels and this allows us to invert the gradient. Choose the gradient tool again and draw a line from the bottom to the top of the selection:
Shrink the circle 4 more pixels and add a new layer. In the circle, use the bucket tool and fill it with the background color you want in your button. I’ll use a bluish color:
Now, grow the circle two pixels by clicking Select => Grow:
Add a new layer and choose the bucket tool. Select black color and fill the circle with black. Then go to Select => Feather and enter the value 20:
Press delete which will remove most of the black color you filled the circle with. Not all though, due to the feather effect, which will create a bit of a shadow.
Select the Text Tool, we’ll add some text now to the image. Write whatever text you want and close the texttool. Select the alignment tool from the toolbox, hold down shift and click on your text. Align the text to the absolute center by using the controls now visible in the toolbox:
This would be a good time to merge all layers. Go to Image => Merge all visible layers or press Ctrl + M. After this, select the Circular select tool and make a small selection in the circle:
Add a new layer.
Select the gradient tool and select FG to Transparent as gradient:
Then with the gradient tool draw a line from the top of the small circle to the bottom and you get a bit of a transparent gloss to it. Go to the layer window, Windows => Dockable dialogs => Layers, and select the top layer with the small circle in it. Set the opacity to 70% by dragging the opacity bar:
After this, you are pretty much finished. However, since we want to add some shadow to our button and since we forgot to (sorry about this) create the button in its own layer, well select the layer with the image and remove the white background. Select the layer with the button in it and select Colors => Color To Alpha. This will remove the white background. Merge the two layers and go to Filters => Light and Shadow => Drop Shadow and use these settings:
This will create a shadow around the button. If you want a white background instead of a transparent one select white as background color and flatten the image (Image => Flatten image). Now scale it down perhaps and you should have a button that looks something like this: