9.2. Créer rapidement une brosse

There are two methods to create a new brush:

  1. First, the quick temporary method. You have an image area from which you want to make a brush, to be used with a tool like pencil, airbrush, etc. Select it with the rectangular (or elliptical) select tool, then Copy this selection. Immediately you can see this copy in the first position of the Brush Dialog, and its name is « Clipboard ». It is immediately usable.

    This brush is temporary: it disappears when you close GIMP. You can make it permanent by clicking on the Duplicate this brush at the bottom of the brush panel.

    Figure 7.20. La sélection est devenue brosse après un Copier

    La sélection est devenue brosse après un Copier

  2. En deuxième, la méthode plus élaborée.

    Select FileNew… from the main menu.

    Set Width and Height for example to 30 pixels.

    In the Advanced Options, set for example the Color space to Grayscale and set Fill with to White.

    Zoomez cette nouvelle image pour l’agrandir et faites un dessin en noir à votre convenance.

    Select FileExport As… from the main menu.

    Export the image with a .gbr extension in the brushes directory in your personal GIMP folder. The location of this folder depends on your OS:

    • Linux: /home/user_name/.config/GIMP/2.10/

    • macOS: /Users/user_name/Library/Application Support/GIMP/2.10/

    • Windows: C:\Users\user_name\AppData\Roaming\GIMP\2.10\

    In the Brush Dialog, click on the button Refresh brushes .

    Your brush appears among the other brushes. You can use it immediately, without restarting GIMP.

    Figure 7.21. Les étapes de la création d’une brosse

    Les étapes de la création d’une brosse

    Dessiner l’image, l’enregistrer en tant que brosse

    Les étapes de la création d’une brosse

    Actualiser la brosse

    Les étapes de la création d’une brosse

    Utiliser la brosse