How to Get Good Line Art From a Photo (2026)

Updated · 4 min read

On this page
  1. What makes a photo convert well
  2. What edge detection does with tone
  3. How to shoot a better source photo
  4. Fixing a photo you already have
  5. Settings that help a difficult photo

Getting good line art from a photo is mostly about the photo, not the tool. An edge detector traces the boundaries where brightness changes sharply, so a picture with one clear subject, even lighting and a plain background converts into clean lines, while a busy, flat or shadowed picture converts into noise. The converter’s settings can rescue a difficult photo, but they cannot invent contrast that was never captured. Here is what actually decides the result.

What makes a photo convert well

Four properties do most of the work. Subject separation: the subject should stand apart from the background in brightness, not blend into it. Contrast: real light-to-dark boundaries inside the subject — an eyebrow against skin, a collar against a shirt. Even lighting: soft light from a window or an overcast sky, so the detector does not read a shadow as an outline. Low clutter: nothing busy behind the subject, because grass, gravel and patterned wallpaper all read as edges.

A photo that has all four is almost tool-independent. A photo missing two of them will fight you no matter what you set.

What edge detection does with tone

The detector does not see objects; it sees rates of change. A Sobel operator measures how fast brightness shifts from pixel to pixel, and the result is a gradient map where sharp transitions — outlines — light up and smooth areas stay dark. A threshold then decides which of those bright pixels are real edges.

The consequence is simple to state and easy to forget: any place where brightness changes fast becomes a line, whether or not it is an object boundary. A shadow across a face, a stripe on a shirt, a patch of sunlight on grass — all become lines. That is why a photo with strong, clean subject edges and a calm background converts beautifully, and why a photo full of texture converts into a mess. The traits that separate the two cases are listed in what makes a good coloring page.

How to shoot a better source photo

  1. Put the subject against a plain wall, a door, or open sky.
  2. Shoot in shade or on an overcast day rather than in direct sun.
  3. Fill the frame with the subject — get close, or crop in.
  4. Keep the background from touching the subject’s outline where you can.
  5. Take several shots; the difference between two frames is often the difference between clean and noisy.

If you cannot choose the moment, choose the frame afterward. Cropping to the subject and away from clutter does more for the result than any setting. For the broader workflow, see how to make a coloring book from photos.

Fixing a photo you already have

Most people are working from a camera roll, not a photo shoot. Here is what to do with the common problems.

ProblemWhat it looks like on the pageFix
Busy backgroundSpeckled noise around the subjectCrop tighter, or raise smoothing
Flat lightingFew or no lines inside the subjectRaise contrast before converting
Harsh shadowsHeavy lines across the facePick a different photo, or soften the threshold
Subject blends into backgroundMissing outline, open regionsRaise edge sensitivity and recheck
Low resolutionBlocky, broken lines when printedUse a larger source file or print smaller

A page needs roughly 300 DPI at its printed size to stay crisp, and Adobe explains how resolution and print dimensions relate in its guide to image resolution. Print a US Letter page from a phone photo and you are usually fine; print it as a poster and you are not.

Settings that help a difficult photo

When the photo is the best you have, the settings are your lever. Raise smoothing to kill background texture — it blurs tone before the gradient is measured, so only the strong edges survive. Lower the threshold to bring back faint features, then raise it again if new noise appears. Keep the line weight where the age of the colorer needs it, not where the photo does; a noisy photo does not become a good page by making the lines heavier. The free one-page tool exposes all of this in photo to coloring page free, and the difference between tracing and redrawing is covered in turn a photo into a coloring page without AI.

The Keepsake Book — $24 once. Up to 40 of your own photos become a finished coloring book: a cover with the child’s name, a dedication page, numbered pages with captions, a reference page pairing each photo with its drawing, and a print-ready US Letter PDF. Your photos never leave your device. See what’s in it →

The book applies the same settings across every page, so once you have a photo that converts well you can reuse the recipe. It is the one-time product on the pricing page.

Frequently asked questions

What kind of photo converts best into line art?

One clear subject against a plain background, with even lighting and strong contrast between subject and background. A phone photo in shade or on an overcast day beats a studio shot in harsh sun.

Why does my coloring page look noisy?

Texture in the source photo — grass, fabric patterns, busy wallpaper — reads as edges to the detector. Raise the smoothing setting, or pick a photo with a plainer background, and the noise goes away.

Does a higher-resolution photo make better line art?

Up to a point. You need enough pixels to hold a clean line at print size, which is roughly 300 DPI at the printed dimensions. Beyond that, more resolution adds detail the page cannot use and often more noise.

Can I fix a bad photo after the fact?

Sometimes. Cropping to the subject and raising contrast in any photo editor helps. You cannot add contrast that was never there, so a flat, cluttered photo is usually better replaced than repaired.

Make a free page