Image Tools
Photo to Sketch & Coloring Page
Turn photos into pencil sketches or printable coloring pages — clean line art from edge detection, with adjustable detail and line thickness.
How to use
- 1Upload a photo and choose Pencil sketch or Coloring page.
- 2Adjust detail and line strength, then download or print.
How it's calculated
Pencil sketch uses the classic 'color dodge' of a grayscale image with its blurred inverse. Coloring pages use Sobel edge detection with a threshold.
Frequently asked questions
Which photos make the best coloring pages?
Simple subjects with clear outlines — pets, toys, buildings — on plain backgrounds.
Can I print it?
Yes — download the PNG and print it; the white background uses no ink.
Is it AI?
No — it uses classic image-processing filters, so it's fast and private.
The decades-old trick behind the pencil sketch effect
Pencil sketch mode uses the 'color dodge' technique photo editors have used for years: it converts the photo to grayscale, makes a second blurred and inverted copy, then blends them using a dodge formula that brightens the base image in proportion to how dark the blurred inverse is at that point. Where the photo has a sharp edge, the blurred-inverse layer stays dark there even after blurring, which pulls the dodge result down to near-black — producing what reads as a pencil line. Flat, even areas blend to near-white. The 'Detail' slider controls how much blur is applied before the blend (less blur keeps thinner, finer lines; more blur produces bolder, simplified strokes), and 'Darkness' scales the final contrast of the result.
Why coloring pages use a completely different algorithm
Coloring page mode doesn't use the dodge technique at all — it runs actual Sobel edge detection, a classic computer-vision operator that estimates the rate of brightness change at each pixel in both the horizontal and vertical directions, then combines them into an edge strength value. Pixels above a threshold (tunable through Detail) are marked as line, everything else becomes pure white — producing flat black-on-white outlines rather than shaded pencil strokes, which is what makes it actually fillable with crayons or markers instead of looking like a grayscale drawing.
Example: turning a pet photo into a printable coloring page for a kid
Say you have a photo of the family dog against a cluttered backyard and want a clean coloring page a child can print and color in. Switch to 'Coloring page,' and because busy backgrounds generate lots of small, meaningless edges, push Detail down (which raises the Sobel threshold) to keep only the dog's strongest outlines, and set Line thickness to around 33–66% so the lines are bold enough to survive printing at normal paper size. The white background uses essentially no ink when printed, and the pure black-and-white output (no grayscale or anti-aliased grey pixels) is exactly what a home printer renders cleanly.
Why large photos get downscaled before processing
Both effects — pixel-by-pixel blend math for the sketch, and a full Sobel convolution plus a dilation pass for line thickness on the coloring page — are computationally heavy operations run directly in the browser's main thread on every pixel. To keep the tool responsive, images are capped at 2400 pixels on the longest side before processing; since both effects work on visual structure and edges rather than fine pixel-level texture, this resolution ceiling has little practical effect on the output compared to running the algorithm at full camera resolution.
Related tools
- Add Text / Watermark to Photo
Add text, a watermark or a date stamp to photos — choose font, size, color, position, opacity and a tiled watermark pattern.
- Before & After Image Slider Maker
Compare two photos with a draggable before/after slider — then export embeddable HTML, a snapshot image, or an animated GIF for social media. Great for edits, renovations and results.
- Compress Image to 100 KB
Reduce a JPG, PNG or WebP image to under 100 KB in your browser — for job portals, exam registrations and email attachments. Keeps the highest quality that fits; nothing is uploaded.
- Compress Image to 200 KB
Reduce a JPG, PNG or WebP image to under 200 KB in your browser — for document scans, product photos and website images. Keeps the highest quality that fits; nothing is uploaded.
- Insert Images into PDF
Add photos, scans or diagrams to an existing PDF as new pages, placed exactly where you want them.
- PDF to JPG
Turn every page of a PDF into a sharp JPG image at the resolution you need. Many pages download as a ZIP.