Image Outline
Convert a photo into a clean line drawing. The tool turns the image grayscale, smooths away fine noise, traces the edges with a Sobel operator and inverts the result, so you get dark lines on a white background. Raise the line strength for bolder strokes and set an ink threshold to turn soft pencil lines into pure black and white line art for coloring pages, stencils and sketches.
Frequently asked questions
How does the outline effect work?
The image is converted to grayscale, blurred very lightly to suppress noise, and filtered with a Sobel edge operator. The edge strength is multiplied by the line strength and subtracted from white. The result is dark lines where the original had edges and white everywhere else.
What does the line strength do?
It multiplies the detected edges from 1 to 10, with 3 as the default. Higher values darken faint edges so more detail appears and lines look bolder. Lower values keep only the strongest contours.
What is the ink threshold?
With the threshold at 0 the lines keep soft gray shading like a pencil sketch. Any value from 1 to 255 turns the drawing into pure black and white: pixels whose edge value reaches the threshold become black and all others become white. Values around 40 to 80 work well for most photos.
How do I make a coloring page from a photo?
Use a photo with clear shapes, raise the line strength to 4 or 5 and set an ink threshold of about 50. The result is crisp black outlines on white that print cleanly. Simple backgrounds give the best pages.
How is this different from edge detection?
Edge detection gives a raw edge map, by default bright edges on black, with a choice of operators. Outline is tuned for drawings: it smooths the image first, always draws dark lines on white and can binarize the lines for print. Use edge detection for analysis and outline for artwork.
Why does my outline look noisy?
Busy textures such as grass, fabric or JPEG artifacts produce many small edges. Lower the line strength or raise the ink threshold so only stronger contours remain. Starting from a larger, sharper photo also helps.
Is transparency kept?
Yes, the alpha channel of the original is kept, so a cutout object becomes an outlined cutout. The lines themselves are grayscale. The result is saved as PNG.
Which formats can I upload?
Upload JPEG, PNG, GIF, WebP, TIFF or AVIF images up to 5 MB. Animated files use their first frame and images larger than 4000 pixels on a side are scaled down to fit. The drawing downloads as PNG.
Can I vectorize the outline afterwards?
Yes, a black and white outline made with an ink threshold is an ideal input for vector tracing software. Clean, closed lines trace into smooth paths. Soft pencil lines can be traced too but give more shapes.
Is the result the same every time?
Yes, the smoothing, the edge operator and the threshold are fixed calculations, so identical files and settings always produce identical drawings. That makes it easy to process a series of photos in a consistent style.