![]() |
![]() |
|
[
News |
About GIMP |
Splash archive |
Screenshots |
Downloads |
Documentation |
Books |
Tutorials |
Mailing Lists |
Wiki |
Getting Involved |
Donating |
Bug Reports |
Links
] [ GIMP from Source | GIMP for Unix | GIMP for Windows | GIMP for MacOSX | ] [ GIMP Stuff | ] [ ] [ |
Custom Brushes TutorialText and images Copyright (C) 2002 Gautam N. Lad and may not be used without permission of the author. IntentionAlong with the brushes already included, you can create custom brushes using three methods. Simple shapes are created using th button labelled New at the bottom of the brush selection dialog. Complex black and white brushes can be created by saving a grayscale image as using the .gbr file extension. The content of such a brush is treated line an alpha-channel. This means that any pixel that is pure white is treated as transparent. However, in this tutoria we will be creating brushes that use pictures with colour and this brush will also have multiple images. Step 1
Create a new image the size of the brush you will be creating. For our example, we will be creating a 64x64 image. Create it with a transparent background. Step 2
Go to the Layers dialog and create additional layers with the fill
type Transparent (if necessary, delete or clear the background layer
if you forgot to make it transparent when creating the image).
Step 3
Draw the images you want in the layers that were already created. In our case we will be drawing a picture of a happy face in 3 colours (red, green and yellow). At the end your layers should look something like this (see image above). You can save a copy of your image in .xcf format now, in case you want to edit it later. Step 4
The last step is to save your brush as a GIMP picture brush. The
extension of this kind of brush is .GIH. So right click on the
image, then choose
<Image> File -> Save As.... IF
you want the GIMP to be able to use your new brush, you have to save
it in the "brushes" folder inside your personal GIMP folder (for
Linux and other UNIX systems, this is usually in
"~/.gimp-2.2/brushes/"). So select that folder and type in a name
for the brush. For our example, the brush was named happy.gih
Final
To see our brush, go to the Brushes dialog and hit the Refresh
button. Our happy image should appear in the dialog. If it doesn't,
make sure you have saved the brush in the GIMP "brushes" folder and
that it has an extension of .GIH.
|