Skip to main content

Paintbrush and Pencil Tools in GIMP

In This Lesson

Introduction to GIMP's Painting Tools

So far in our course, we've explored selection techniques and color adjustments that affect entire images or large regions. Today, we'll dive into GIMP's painting tools, which allow for precise, hands-on editing and creative expression. The Paintbrush and Pencil tools are fundamental to digital painting and detailed image editing.

Think of these tools as your digital art supplies. Just as traditional artists have different brushes and pencils for various techniques, GIMP provides digital equivalents with even more flexibility and power. Whether you're doing precise retouching, creating digital art from scratch, or adding creative effects to photographs, mastering these tools will significantly expand your capabilities.

flowchart TD A[Painting Tools in GIMP] --> B[Paintbrush Tool] A --> C[Pencil Tool] A --> D[Other Painting Tools] B --> E[Soft-edged strokes] B --> F[Pressure sensitivity] B --> G[Blending capabilities] C --> H[Hard-edged strokes] C --> I[Pixel-perfect control] C --> J[No anti-aliasing] D --> K[Airbrush] D --> L[Ink Tool] D --> M[MyPaint Brush]

Understanding Raster-Based Painting

Before we explore the specific tools, it's important to understand that GIMP is a raster-based image editor. This means that when you paint in GIMP, you're actually modifying pixels directly.

Raster vs. Vector Painting

In raster-based painting (like GIMP):

  • Images are made up of a grid of pixels
  • Each brush stroke modifies the color values of specific pixels
  • When you zoom in, you'll eventually see the individual pixels
  • Scaling up can cause loss of quality (pixelation)

In contrast, vector-based painting (like in Inkscape or Adobe Illustrator):

  • Images are made up of mathematical paths and shapes
  • Elements can be scaled infinitely without loss of quality
  • Offers less natural painting feel for artistic work

The Canvas and Layers

In GIMP, your painting surface consists of:

  • Canvas: The entire image area
  • Layers: Stackable transparent sheets that can contain separate elements
  • Alpha channel: Controls transparency of pixels

Best practice is to create a new layer for your painting work. This allows you to make adjustments without affecting the original image and provides flexibility for blending modes and opacity changes.

Layer 3: Painting Layer Layer 2: Photo Layer Layer 1: Background Layer Canvas and Layers

The Paintbrush Tool

The Paintbrush is one of GIMP's most versatile and frequently used tools. It creates soft-edged strokes that can blend smoothly, making it ideal for a wide range of tasks from photo retouching to digital painting.

Accessing the Paintbrush Tool

You can access the Paintbrush Tool in several ways:

  • Click the Paintbrush icon in the Toolbox (brush icon)
  • Use the keyboard shortcut P
  • Go to Tools → Paint Tools → Paintbrush

Basic Paintbrush Properties

Once selected, you'll see the Tool Options panel with several settings:

  • Brush: Selects the brush shape and size
  • Size: Adjusts the diameter of the brush
  • Aspect Ratio: Changes the brush shape from circular to elliptical
  • Angle: Rotates elliptical brushes
  • Spacing: Controls the distance between dabs in a stroke
  • Hardness: Adjusts the edge softness (in supported brushes)
  • Force: Controls opacity/strength of the brush effect

Key Characteristics of the Paintbrush

The Paintbrush has several important features that set it apart:

  • Anti-aliased edges: Creates smooth transitions between the brush stroke and background
  • Pressure sensitivity: Works with graphics tablets to vary stroke properties based on pressure
  • Soft edge blending: Allows strokes to blend naturally with underlying content
  • Customizable brushes: Can be modified for different artistic effects
Hard Brush (100%) Medium Brush (70%) Soft Brush (40%) Very Soft Brush (10%) Paintbrush Hardness Comparison

The Pencil Tool

The Pencil tool creates hard-edged strokes with no anti-aliasing. This makes it perfect for pixel art, technical drawings, or any situation where you need precise control at the pixel level.

Accessing the Pencil Tool

You can access the Pencil Tool by:

  • Clicking the Pencil icon in the Toolbox (looks like a pencil)
  • Using the keyboard shortcut N
  • Going to Tools → Paint Tools → Pencil

Basic Pencil Properties

The Pencil shares many of the same Tool Options as the Paintbrush:

  • Brush: Selects the brush shape and size
  • Size: Adjusts the diameter of the brush
  • Aspect Ratio: Changes the brush shape
  • Angle: Rotates non-circular brushes
  • Spacing: Controls the distance between dabs
  • Force: Controls opacity/strength

The key difference is that the Pencil always creates hard-edged strokes regardless of the brush selected.

Key Characteristics of the Pencil

The Pencil tool has several distinctive features:

  • Aliased edges: Creates pixel-perfect, hard edges with no smoothing
  • Pixel precision: Excellent for single-pixel editing
  • No blending: Each pixel is either fully colored or not colored at all
  • Ideal for pixel art: Perfect for creating retro-style graphics or icon design
graph TD A[When to use which tool?] --> B{Need smooth blending?} B -->|Yes| C[Use Paintbrush] B -->|No| D[Use Pencil] C --> E{What are you creating?} E -->|Digital Painting| F[Paintbrush with varying sizes
and opacities] E -->|Photo Retouching| G[Paintbrush with low opacity
and soft edges] E -->|Special Effects| H[Paintbrush with custom
brushes and dynamics] D --> I{What are you creating?} I -->|Pixel Art| J[Pencil with small sizes
and zoom for precision] I -->|Technical Drawing| K[Pencil with consistent
size and straight lines] I -->|UI Design| L[Pencil for crisp
edges and icons]

Common Settings for Both Tools

Both the Paintbrush and Pencil tools share several important settings that affect how they function:

Mode

The Mode dropdown controls how your brush strokes interact with existing pixels:

  • Normal: Standard painting mode that replaces existing colors
  • Dissolve: Creates a random dithered effect
  • Multiply: Darkens existing colors
  • Screen: Lightens existing colors
  • Overlay: Combines Multiply and Screen effects
  • Difference: Subtracts the brush color from the background

These modes work similarly to layer blend modes we'll explore in future modules.

Opacity

The Opacity slider controls the transparency of your brush strokes:

  • 100% is fully opaque
  • Lower values allow underlying pixels to show through
  • Low opacity (20-30%) is excellent for subtle effects and blending

Think of opacity like the amount of pressure you'd apply with a traditional brush—light touch for subtle effects, firm pressure for solid coverage.

Brush Dynamics

The Dynamics settings allow your brush to change properties based on various inputs:

  • Pressure: Varies properties based on tablet pressure
  • Velocity: Changes based on how quickly you move
  • Random: Adds variation to create more natural-looking strokes
  • Fade: Gradually changes properties over the length of a stroke

These are particularly useful for creating natural-looking strokes when digital painting.

Real-World Applications: Paintbrush

The Paintbrush tool excels in many practical scenarios:

Digital Painting

For creating digital artwork:

  • Use large, soft brushes for backgrounds and blending
  • Medium brushes with varying opacity for details
  • Create custom brushes for textures like clouds, foliage, or skin
  • Use dynamics for natural-looking strokes

Think of digital painting in GIMP as similar to traditional painting, but with the ability to undo, work in layers, and experiment without wasting materials.

Photo Retouching

For fixing imperfections in photographs:

  • Use small, soft brushes with low opacity (10-30%)
  • Sample colors from nearby areas with the color picker (Ctrl+click)
  • Build up effects gradually with multiple strokes
  • Work on separate layers for non-destructive editing

This is similar to how a photo retoucher might work with airbrush techniques in traditional darkroom printing.

Special Effects

For creating lighting effects and atmosphere:

  • Use large, soft brushes with Screen mode for light effects
  • Create glow effects with white or colored brushes at low opacity
  • Add atmosphere with large, soft brushes in light colors
  • Paint shadows with Multiply mode and low opacity

These techniques are similar to how film crews use lighting gels and diffusers to create mood in cinematography.

Real-World Applications: Pencil

The Pencil tool has its own specialized uses:

Pixel Art

For creating retro-style graphics:

  • Use small brush sizes (1-3 pixels)
  • Work zoomed in (400-800%) for precision
  • Use a grid (View → Show Grid) for alignment
  • Create your own palette of limited colors

This is similar to how classic video game artists worked within the strict pixel limitations of early gaming systems.

Technical Drawing

For precise diagrams and illustrations:

  • Use consistent brush sizes for clarity
  • Hold Shift to draw straight lines between points
  • Use the Snap to Canvas Grid feature for alignment
  • Create separate layers for different parts of your drawing

This approach resembles technical drafting, where precision and clarity are paramount.

UI Design

For creating interface elements:

  • Use the Pencil for pixel-perfect edges on buttons and icons
  • Create crisp text and symbol graphics
  • Design cursor sets and small icons
  • Work with power-of-two canvas sizes for web optimization

This is similar to how early web designers had to work with limited color palettes and pixel precision to ensure cross-browser compatibility.

Tips and Tricks for Efficient Painting

Color Sampling

To quickly sample colors from your image:

  • Hold Ctrl and click anywhere to sample that color
  • This works with both Paintbrush and Pencil tools active
  • Sample from different areas frequently for natural-looking results

Straight Lines

To create perfectly straight lines:

  • Click once at the starting point
  • Hold Shift
  • Click at the endpoint
  • GIMP will draw a straight line between the points

Quick Brush Size Changes

To change brush size on the fly:

  • Use bracket keys [ and ] to decrease/increase brush size
  • Hold Shift + bracket keys for larger size increments
  • This allows you to work efficiently without constantly visiting the Tool Options

Incremental Mode

For building up effects gradually:

  • Enable "Incremental" in the Tool Options
  • This makes each stroke add to previous strokes, even when painting over the same area
  • Useful for creating textured effects and gradual buildups

Practical Demonstration: Basic Techniques

Let's walk through some basic painting techniques that demonstrate the differences between Paintbrush and Pencil tools:

Technique 1: Gradual Blending with Paintbrush

  1. Create a new layer
  2. Select the Paintbrush tool
  3. Choose a large, soft brush (size 100+)
  4. Set opacity to around 30%
  5. Paint several overlapping strokes to create a smooth gradient effect

This technique is useful for creating soft backgrounds, clouds, or atmospheric effects.

Technique 2: Precise Edges with Pencil

  1. Create a new layer
  2. Select the Pencil tool
  3. Choose a small, hard brush (size 1-3)
  4. Zoom in for precision
  5. Draw pixel by pixel to create crisp details or boundaries

This technique is essential for pixel art, icons, or any design requiring crisp, defined edges.

Technique 3: Texturing with Brush Dynamics

  1. Select the Paintbrush tool
  2. Open the Brush Dynamics section
  3. Enable "Random" for Size Jitter and Color Jitter
  4. Use a medium brush and paint in short strokes

This creates varied, textured strokes that can simulate natural materials like grass, fur, or fabric.

Practice Activities

Activity 1: Brush Experimentation

Create a new document and explore different brush behaviors:

  1. Create a 1000x800 pixel canvas with white background
  2. Create six separate layers labeled: Basic Paintbrush, Low Opacity Paintbrush, Dynamics Paintbrush, Basic Pencil, Pattern Pencil, and Mode Experiment
  3. On each layer, test the corresponding technique with different settings
  4. Compare the results and note the differences

Activity 2: Gradient Creation

Practice creating smooth gradients with the Paintbrush:

  1. Create a new 800x400 pixel document
  2. Select the Paintbrush with a large, soft brush
  3. Set opacity to 20-30%
  4. Choose two contrasting colors
  5. Start with one color on the left, gradually blend toward the second color on the right
  6. Try to create a smooth transition without visible stroke marks

Activity 3: Simple Pixel Art

Create a basic pixel art icon:

  1. Create a small canvas (32x32 or 64x64 pixels)
  2. Enable grid (View → Show Grid)
  3. Set grid size to 1 pixel (Image → Configure Grid)
  4. Select the Pencil tool with Size 1
  5. Create a simple icon (heart, star, game character, etc.)
  6. Use a limited palette of 4-8 colors

Challenge Activity: Mixed Media

Combine both tools for a creative project:

  1. Start with a photograph or simple background
  2. Use the Paintbrush to create soft atmospheric effects
  3. Use the Pencil tool to add detailed elements on top
  4. Experiment with different blend modes for interesting interactions
  5. Create a mixed-media style image that combines photographic elements with digital painting

Summary: Key Takeaways

  • The Paintbrush tool creates soft-edged strokes ideal for blending and natural-looking painting
  • The Pencil tool creates hard-edged, pixel-perfect strokes for precise control
  • Both tools share many settings but produce fundamentally different stroke styles
  • Opacity control is essential for creating subtle effects and building up strokes
  • Brush dynamics can add variation and natural qualities to your strokes
  • Different applications require different approaches—digital painting vs. pixel art vs. photo retouching
  • Keyboard shortcuts and techniques like color sampling can significantly improve your workflow efficiency

In the next lecture, we'll explore Brush Dynamics and Customization, which will allow you to create your own custom brushes and achieve more sophisticated painting effects.

Additional Resources