9.2. Pensel i ei snarvending

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.

    Figur 7.21. Utvalet vert ein pensel når du kopierer det:

    Utvalet vert ein pensel når du kopierer det:

  2. Den andre måten er litt vanskelegare.

    Select FileNew… from the image 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.

    Forstørr visinga av biletet og bruk ein svart blyant for å lage ei teikning på biletet.

    Select FileExport As… from the image 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.

    Figur 7.22. Stega for å lage ein pensel

    Stega for å lage ein pensel

    Teikna biletet og lagra det som pensel

    Stega for å lage ein pensel

    Oppdater penslane

    Stega for å lage ein pensel

    Bruk penselen