How to Turn a Photo into a Line Drawing in Photoshop
Published September 24, 2026 ·
On this page
Turn a photo into a line drawing in Photoshop with Find Edges, then refine the contrast and hide unwanted background lines with a mask. This workflow builds a contour-based image rather than a shaded pencil sketch.
If you would rather skip the layers, a photo to line drawing tool can do the conversion online; the section near the end compares the two approaches.
This reference guide covers desktop Photoshop, not Express or mobile. The editing steps use standard tools; the practice inputs were AI-generated. The first filter pass is only a starting point: texture and shadows can become unwanted lines.

Before You Start
Choose a sharp photo with a recognizable subject. Simple objects are useful starting points; texture and strong shadows require more cleanup. Enlarging a blurry photo will not restore detail.
Use an image you are allowed to edit. The pavilion practice image and teapot-and-cup practice image are included at their original sizes. Download these inputs rather than copying a comparison graphic.
Save a working PSD. For this workflow, use Image > Mode > RGB Color and 8 Bits/Channel. Both practice inputs are in color; desaturate the working copy before extracting edges.
Extract Photo Outlines with Find Edges
Prepare a Separate Working Layer
Open your image, duplicate the photo layer, and name the duplicate Line work. Rename the bottom layer Original, then hide it.
For a color photograph, select the duplicate and choose Image > Adjustments > Desaturate. This changes the working copy directly; it does not make every edit nondestructive. Next choose Filter > Convert for Smart Filters to keep compatible filters editable. 1 2
Reduce Texture Before Detecting Edges
If the photograph contains distracting fine texture, apply a small amount of Filter > Blur > Gaussian Blur to Line work before extracting edges. Inspect at 100%: a little blur reduces texture, but excess removes useful borders.
There is no universal radius; dimensions and detail matter. Skip pre-blur for an already simple source. 3

Apply Find Edges
With Line work selected, choose Filter > Stylize > Find Edges. It emphasizes transitions as dark lines against a light background. Keep the layer in Normal mode. Do not invert this result; that would reverse the intended black-on-white appearance. 3
Expand the Smart Filters list. When both filters are present, Find Edges should appear above Gaussian Blur: Photoshop evaluates that list from bottom to top. Blurring afterward softens the resulting lines instead of simplifying the source first. 2
Clean Up Contrast with Levels
Choose Layer > New Adjustment Layer > Levels above Line work. Move the white input slider left gradually to clear faint gray areas, then move the black input slider right cautiously to strengthen important lines. Leave the output range at its default. 4
Stop before borders vanish or merge. Also check the expected viewing size.

Remove Unwanted Background Lines
Create a Solid Color fill layer set to white, below Line work. Select Line work and Levels, group them as Line drawing, and set the group's blend mode to Normal. Keep white outside and below the group. 5
Deselect any active selection. Select the group and add a white layer mask using the Layers panel's Add layer mask button. Click that mask thumbnail and paint black over background marks you want to hide; the white fill underneath becomes visible. Paint white to restore accidentally hidden areas. 6
Use the group mask, not the Smart Filters mask. Hiding a filter can reveal the underlying photograph instead of removing the unwanted content. Protect silhouettes and thin structures. 2
Inspect shadows, reflections, foliage, and patterns; a filter cannot choose meaningful lines for you.

Choose the Finish and Check Your Layers
For a strictly black-and-white finish, add a Threshold adjustment layer above Levels inside the group. A higher threshold sends more pixels to black; a lower setting leaves fewer dark marks. Skip Threshold when you prefer softened line edges and subtle gray detail. 1

Layer order, top to bottom; a structural reference, not a Photoshop screenshot.
| Position | Contents and purpose |
|---|---|
| Line drawing group + mask | Groups the effect; mask hides unwanted regions |
| Inside: Threshold, optional | Converts tones to black or white |
| Inside: Levels | Controls light areas and line strength |
| Inside: Line work Smart Object | Find Edges above optional Gaussian Blur |
| White fill | Shows through hidden portions of the group |
| Original, hidden | Preserves the unedited photo for comparison |
Fix Common Line-Art Problems
The background is still noisy. Revisit pre-blur and use the group mask. Increasing contrast also strengthens clutter.
Fine lines disappear. Ease back the Levels adjustment or optional Threshold. Settings that clean a broad wall may erase a thin stem or facial feature.
The photograph appears during cleanup. Check which mask is selected, whether the Original is hidden, and whether the white fill sits below the effect group.
The result looks like a shaded sketch. Confirm that Find Edges is active and that you have not followed a Color Dodge workflow. For that different effect, use our Photoshop pencil sketch guide.
Choose the Right Line Weight for Your Project
The same Find Edges result can be tuned for very different jobs, so decide how the lines will be used before you adjust Levels or Threshold.
For screen use or illustration groundwork, keep some gray and fine interior detail. Soft edges reproduce well on a monitor and give you something to paint over.
For printing, push the contrast further and apply Threshold so the lines are solid black. Very thin gray lines can fade or break up on paper, so inspect a test print rather than trusting the screen.
For embroidery or laser engraving references, simplify first. Fewer, bolder, continuous lines are easier to digitize or convert to paths than hairline texture. Remember that this workflow creates pixels, not vector paths; stitch files and engraving paths come from other software.
Prepare the File for Printing
Choose Image > Image Size and check the width and height in pixels. With Resample turned off, changing the resolution shows how large the image would print at that density without altering any pixels.
If the print size you need is larger than the file allows at a sensible density, the lines will look soft however crisp they appeared on screen. Start from a larger original instead of enlarging a small one.
Save and Export Your Line Drawing
Save the layered PSD before exporting so the group mask and adjustments remain available. Do not flatten your only working file. 7
Use File > Export > Export As to save a PNG or JPG, then check the pixel dimensions and inspect the exported image. White pixels are not transparency; selecting PNG does not remove them. 8
For transparent artwork, actual transparent pixels must exist in the document and the export must retain transparency. This guide keeps a white background. Inspect exported lines at the intended size.
An Online Alternative Without Photoshop
Prefer uploading a picture instead of building layers? Try our Picture to Line Drawing tool. Choose a preset, generate, and review.
It uses AI, not this filter workflow, and may reinterpret features. Generation requires sign-in and account credits; see Pricing for current conditions.
When Photoshop is the better choice: you want predictable, repeatable settings, full control over which lines stay, or a layered file you can keep editing. The cost is time spent on cleanup, and the quality of the first pass depends heavily on the photo.
When the online tool is the better choice: you want a quick starting point from a portrait, pet, or building, with a few detail levels to pick from. It redraws the picture rather than detecting edges, so check eyes, text, and small details against your original, and expect that another generation can differ.
The two also combine well: generate a photo to line drawing result online, then open it in Photoshop to threshold, erase stray marks with a mask, or add your own lines.
Frequently Asked Questions
Is Find Edges a finished line drawing?
Not usually. It detects visual transitions, including texture and illumination. Refine contrast and clean up the first pass.
Can I keep the effect editable?
Yes, retain the PSD with its Smart Object, adjustment layers, group mask, and hidden original. A flattened export does not preserve that editing structure.
Does this create SVG paths for a cutting machine?
No. This workflow produces raster artwork. A cleaner black-and-white image is not automatically vector geometry or a verified cutting path.
Why is my line drawing gray instead of black and white?
Find Edges produces gray transitions. Tighten Levels, or add a Threshold adjustment inside the group when you want pure black lines on white. Check that the lines are not so thick that small features merge.
Can I use the result as a coloring page?
Yes, if the lines are dark and the areas stay open. Apply Threshold, close obvious gaps, and print a test sheet. If you would rather have a ready-made outline, try the Photo to Coloring Page tool.
Should I use Photoshop or an online tool?
Use Photoshop when you want control over every layer and a file you can keep editing. Use the online tool for a quick starting point you can then refine. Neither produces vector paths or a guaranteed stencil.
Will every contour remain continuous?
No. Low contrast, fine detail, and cleanup can leave gaps. Inspect and repair important boundaries.
Sources and Image Credits
Practice inputs: AI-generated pavilion and teapot-and-cup images supplied for this guide. Comparison figures use deterministic edge processing and manually defined masks to illustrate the concepts. They are not Photoshop screenshots or verified Photoshop exports.
This independent guide is not affiliated with or endorsed by Adobe.