Simple Grayscale Drawing Digitization

This is a quick guide for digitizing pencil or ink drawings using a phone camera and GIMP. The goal is to produce a clean grayscale image with a white or transparent background from a hand-drawn original, suitable for digital use.

1. Capture the Drawing

Use a phone to capture a photo of the drawing on a flat surface. Position the phone at least 18 inches above the drawing, with the camera lens centered over it and the phone perpendicular to the surface.

💡 Tip: It may be good to turn on the camera flash to ensure uniform lighting, but leave it off and use external lighting if it causes glare.

Phone positioned above drawing
Phone positioned above a drawing on a flat surface

2. Import into GIMP

Import the image into GIMP. (This guide uses GIMP 3.2.)

https://www.gimp.org/downloads/

3. Crop the Image

Crop the image with the Crop tool, dragging over the area you want to keep, and press Enter to apply.

💡 Tip: Use the Rotate and Handle Transform tools to square up the image if needed.

Cropping the image in GIMP
Cropping the drawing in GIMP

4. Clean Up the Background Edges

Remove any off-canvas background with the Eraser tool.

💡 Tip: Use the Hardness 100 brush with Size around 50 pixels. Make sure Opacity and Hardness are at their maximum.

Erasing background edges
Cleaning edges with the Eraser tool

5. Flatten to White

Set your background color to white and use Image → Flatten Image.

Flattened image with white background
Image after flattening to a white background

6. Extract a Single Color Channel

Use Colors → Components → Extract Component. Select either RGB Red, Green, or Blue from the dropdown list. Choose the channel with the least glare and best contrast. From my experience, RGB Green usually works best.

Extract Component dialog
Extracting the Green channel

7. Adjust Levels

Use Colors → Levels to remove the background and dial in the contrast.

White point adjustment — Identify the rightmost peak on the histogram. Drag the right slider so that it sits just to the left of that peak. This pushes the paper background to pure white.

Adjusting the white point
Dragging the white point slider left of the background peak

Black point adjustment — Drag the left slider right until it begins to saturate the darkest lines; represented by the leftmost hill on the histogram.

Adjusting the black point
Dragging the black point slider to deepen the lines

Gamma adjustment — Adjust the middle slider to find a nice contrast balance.

Adjusting gamma
Fine-tuning contrast with the middle slider

8. Fill Background with Red

Set your foreground color to red (ff0000) and use the Bucket Fill tool to fill the background. Ensure the Threshold value is between 0 and 6 before filling. A lower threshold will preserve more edge detail, while higher threshold helps to remove background artifacts.

Background filled with red
Background replaced with solid red for cleanup visibility

💡 Tip: Before this step, doing an initial background removal pass with a feathered Fuzzy Select Tool might help if there are lots of artifacts.

9. Paint Over Unwanted Marks

Use the Paintbrush tool (also in red) to paint over any unwanted streaks or artifacts that are now clearly visible against the red background.

Painting over artifacts
Painting over stray marks with red

10. Extract Red Channel to Restore White

Use Colors → Components → Extract Component again, this time with RGB Red selected. This converts the red background back to white.

Final grayscale result
Clean grayscale drawing after extracting the Red channel

11. Optional — Transparent Background

Use Image → Flatten Image, then Colors → Color to Alpha to convert the white background to transparent.

You can now tweak the background color if desired, and export as a PNG or lossless WEBP file.

Transparent background result
Drawing with arbitrary background