A pencil sketch of a photograph looks like it must need an artist or an advanced AI. In fact, the classic pencil-sketch effect is a short recipe of simple image operations that has been used in photo editors for years. The Skycally Image to Sketch tool applies that recipe in your browser. This guide explains how the three styles work, which photos give the best results, how to prepare an image, and what to expect from the final file.
What the tool is, and what it is not
The tool does not draw anything and it does not use artificial intelligence. It processes the pixels of your photo with a few mathematical steps, and the output looks like a drawing. That has useful consequences: the result is predictable, it is quick, your photo never leaves your device, and the same photo always produces the same sketch. It also means the tool cannot add artistic judgement. It cannot decide to simplify a busy background or emphasise a face. It treats every pixel by the same rules.
The three styles
Pencil
The pencil style is a well-known technique, and it works in four steps:
- Convert the photo to greyscale.
- Make an inverted copy, so that dark areas become light and light areas become dark.
- Blur the inverted copy.
- Blend the blurred copy with the greyscale image using a mode called colour dodge, which divides one layer by the inverse of the other.
Wikipedia describes colour dodge as a mode that lightens the base layer according to the layer above it. Where the photo is smooth, the result is close to white, like blank paper. Where there are edges, where light meets dark, the blur does not match the original, and a dark line appears. The result looks like graphite shading along the outlines of shapes. The blur radius controls how thick the lines look; the pencil style uses a small one for soft, fine lines.
Charcoal
Charcoal uses the same recipe with a much larger blur, which makes the lines wider and the shading heavier. The tool then darkens the midtones with a curve, so the picture has deeper blacks and more contrast. It suits dramatic photographs, strong shadows and bold subjects. It is less flattering on delicate details.
Edges
The edges style is different. It uses the Sobel operator, a classic edge-detection method presented by Irwin Sobel and Gary Feldman in 1968. For every pixel, it compares the brightness of the eight surrounding pixels using two small three-by-three grids, one for horizontal change and one for vertical change, and combines them into a single measure of how sharply the brightness changes there. Strong changes, which are edges, become dark lines on a white page. The result is a clean outline drawing, closer to line art than to shading.
Which photos give the best sketches
- Clear subjects with good contrast. The effect works on differences in brightness, so a subject that stands out from its background produces strong lines.
- Portraits taken in side or soft light. Shadows on the face give the drawing form. Flat lighting gives flat drawings.
- Architecture and objects. Buildings, bridges, bicycles and furniture have clear outlines, which suits pencil and edges especially well.
- Landscapes with defined shapes. Mountains, trees against the sky and rooftops sketch well. Large areas of uniform colour, such as a clear sky, stay blank, as they would on paper.
The worst results come from busy, low-contrast or very noisy photos, where the effect turns texture into scribble.
Preparing your photo
- Consider reducing very large photos. Every pixel is processed, so a full-size photo straight from a modern phone camera takes noticeably longer than a smaller one, and the charcoal style does a little more work than pencil. If the page feels slow, resize the photo first.
- Crop to the subject. Remove the empty parts so that the drawing focuses on what matters.
- Improve the contrast if the photo is flat. A little extra contrast gives the sketch more definition.
- Start with a sharp original. Blur in the photo becomes soft, indistinct lines.
Using the tool
- Drop a photo onto the page or click to choose one. PNG, JPG and WebP are supported.
- Choose Pencil, Charcoal or Edges.
- Press Convert to Sketch.
- Compare the original and the sketch side by side, then download the result as a PNG.
There is no intensity slider, so to get a different look, try another style or change the photo itself. The sketch has the same pixel size as the original and is greyscale. If you want the result in colour, or want to add a tint, do that afterwards in a photo editor.
Ideas for using your sketch
- A drawing-style profile picture or a card made from a favourite photograph.
- A line-art outline to trace over, or to colour in by hand or on a tablet.
- A study of light and shadow for art students, who can compare the sketch with the original.
- A starting point for a short animation. Turn the finished sketch into a slow zoom with the Image Animator.
Sketch effect versus a hand drawing
The effect imitates the look of pencil and charcoal; it does not reproduce how an artist works. A person simplifies, exaggerates and leaves things out. The tool captures everything the photo contains. It is a quick and attractive filter, not a replacement for drawing.
Tell us what is missing
If you want another style, an intensity control, or have a photo that gives a strange result, please send us a message. If your photo is small and you want a larger sketch, enlarge it first with the Image Upscaler.
Sources and last verified: November 2026
The facts, figures and studies mentioned in this article come from the sources below. Figures and rules can change, so check the original if a decision depends on an exact number. Image to Sketch applies mathematical image filters. It does not use artificial intelligence and does not draw like an artist.