pelmet The Mac app

Photo to painting · Pencil sketch · No upload

Turn a photo into a pencil sketch.

Graphite contour lines and hatched shading on grainy paper, most detailed on the subject. It is made by your own device’s graphics chip, so your photo never leaves it. Free, full size, no sign-up.

Lines, hatching and paper

A graphite sketch is built from two things: contour lines that find the edges of forms, and shading laid in groups of parallel strokes (hatching), crossed by a second direction in the darks. The tooth of the paper breaks up each stroke, highlights are left as bare paper, and the drawing often fades out towards the edge of the sheet.

The tool draws contours with a flow-based difference of Gaussians, a line finder that follows the direction of the forms, and lets them run on a little past their ends, as a hand does. Tone comes from hatching that follows the form, cross-hatching in the darks and a little blended graphite, all caught by the paper grain. The subject gets the most detail; the background thins out to an unfinished edge.

Portraits, pets and buildings make good sketches. The sliders set the line weight, the shading, the detail and the paper grain.

Everything happens in your browser. The photo is painted with WebGL on your device and is never uploaded. A small face-finding model (Google’s MediaPipe, a few megabytes, downloaded once from this site) also runs on your device, only to mark where faces are so they get finer work. There is no image generator. Downloads are PNG or JPEG, up to 2400 pixels on the long side.

Pencil sketch examples

These were painted with this tool from photos on Pexels. Drag across a picture to compare it with the photo.

Other styles

The same tool paints 9 more ways. Or open the painter with every style.

The Pelmet app icon

Made by Pelmet

Music in your MacBook’s notch.

Pelmet is a Mac app that turns the MacBook notch into a music player for Spotify and Apple Music, with time-synced lyrics in the notch, on the desktop and on the lock screen, and a shelf for files.

macOS 14 or later · Spotify and Apple Music · $6.99 once, three-day free trial