Find the edges in a photo and turn them into line art, outlines or neon glow, with Sobel, Canny and five other methods. Compare with the original and download a PNG.
Initializing in your browser…
Turn an image into Base64 text or a data URL to embed in HTML, CSS or Markdown, checked to decode back to your exact file. Optional resizing first.
Compare two versions of an image and see what changed: each changed area outlined and shown close up, with slider, fade and side-by-side views and a similarity score.
Crop a photo by dragging a box or typing exact pixels, with aspect ratio presets, quarter turns, mirrors and shape cut-outs. PNG output keeps every pixel exactly.
The sample sunset photo, 1600 by 1067 pixels with fine film grain, run through four of the looks.
Looks
Blueprint: Sobel, threshold 6% Smooth curves: Scharr, threshold 5% Colour lines: Roberts, threshold 4% Clean outline: Canny, thresholds 3% and 7.5%
Share of the picture marked as edge
Blueprint about 41,200 pixels 2.4% Smooth curves about 43,800 pixels 2.6% Colour lines about 124,800 pixels 7.3% Clean outline about 15,500 pixels 0.9%
Sobel and Scharr mark the hills, trees, sun and reflections in lines about two pixels wide. Roberts compares only neighbouring pixels and averages nothing, so the grain in the sky and water triples its count. Canny smooths the grain away first, thins every line to a single pixel and keeps a faint stretch only where it joins a strong one, which leaves a clean outline with fewer than half as many pixels as Sobel.
Find the outlines in any picture. Turn a photo into a pencil sketch, a blueprint, a clean outline for tracing or colouring, or neon line art, then drag across the result to compare it with the original and download it as a PNG.
Turn photos into outlines to print, colour in or trace onto paper or a tablet.
Line art, posters, stencils and backgrounds from your own pictures.
See how different methods react to the same picture, side by side with the original.
Clean Canny edge maps as a starting point for shape and contour work.
Pencil sketch draws soft dark lines on white, with strong outlines darker than faint ones, ready to print and trace.
On the sample sunset, Clean outline (Canny) marks about 0.9% of the picture as edge where Roberts marks about 7%, because Canny smooths the grain away before it looks.
Neon glow with a line width of 2 and the magenta colour turns a city photo into glowing line art on black.
Looks. Eight ready-made looks cover the common uses, each shown as a thumbnail of your own picture: Pencil sketch, Blueprint, Neon glow, Clean outline, Subtle details (edges over the photo), Texture, Smooth curves and Colour lines. Pick one and fine-tune it under Custom.
Methods. An edge is a place where brightness changes quickly, and each method measures that change a little differently. Sobel is the classic choice with clean, even lines. Prewitt is close to it with a little more weight on diagonal detail, and Scharr is more accurate on diagonal and curved edges. Roberts gives the finest lines but also picks up grain and noise. The two Laplacian methods respond to a change in the change, so they outline both sides of an edge and ignore smooth gradients. Canny smooths the picture first, thins every edge to a single pixel and keeps faint edges only where they connect to strong ones, which makes it the best choice for photos.
Threshold. The threshold decides how strong an edge must be to count. It is set as a percentage of the strongest edge each method can produce, so 5% means the same thing whichever method you pick. Canny uses two thresholds: edges above the high one are always kept, and edges above the low one are kept only where they connect to a strong one. Its Smoothing setting blurs away noise and fine texture before it looks.
Lines and style. Shaded draws stronger edges brighter, so faint ones stay faint, like a pencil drawing. Solid draws every edge above the threshold at full strength. Line width makes the lines up to six pixels wide without changing which edges are found, which helps on large pictures and in print. Then choose black lines on white, white on black, the picture's own colours on a clear background, the edges lightened over the original, or a neon glow in one of six colours.
Size and privacy. Edges are found on the full picture and the download is a full-size PNG; very large photos above 16 megapixels are worked on at 16 megapixels, and the page says so. Pictures with transparent areas are placed on white first, so a dark logo on a clear background still gets its outline. Everything runs in your browser and nothing is uploaded.
Canny for photos, because it smooths away grain and draws thin, connected lines. Sobel for drawings, screenshots and anything with clean shapes. Try the looks first: each one shows a thumbnail of your own picture.
The picture has grain or noise, and some methods, Roberts above all, mark it as edges. Raise the threshold, or switch to Canny and increase Smoothing.
The Laplacian methods outline both sides of a change in brightness, so a single edge can show as two lines. Sobel, Scharr and Canny draw one line per edge.
Open Custom and raise Line width. The edges found stay the same; only the drawing gets bolder, which helps with large pictures and printing.
Yes. Choose the Colour style: the edges keep the picture's colours and everything else is transparent in the PNG.
Yes, the PNG has the same pixel size as your picture. Only photos above 16 megapixels are reduced to 16 megapixels, and the page tells you when that happens.
No. The edges are found in your browser and your picture never leaves your device.
Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.