Apply Scharr Edge Filter
Detect edges in a PNG with the Scharr operator, whose weights keep diagonal edges as strong as straight ones. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
Drop images anywhere on this page
or paste with Ctrl / ⌘ + V ·
Accepts PNG · several at once
Your PNG files never leave this tab
Apply Scharr Edge Filter is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.
- No upload
- No file size limit
- Works offline once loaded
- Nothing stored or logged
How to use Apply Scharr Edge Filter
- 1. Add the PNG. Drop one or more PNG files. Each picture is processed in your browser and comes back as an edge map with the same dimensions.
- 2. Adjust the response. Use Strength to brighten or soften the lines, restrict the result to vertical or horizontal edges, and set a hard threshold for pure black and white output.
- 3. Pick the look and download. Choose white on black, black on white, or black lines on transparency, then download the PNG or the batch as a ZIP.
When to use Apply Scharr Edge Filter
The Scharr operator is a 3×3 gradient kernel with weights 3, 10, 3. Those weights make its response almost the same whatever the angle of an edge, so diagonal and curved outlines come out as evenly as horizontal ones, which Sobel does not quite manage.
- Outlining curved artwork. Round logos, lettering and organic shapes keep an even line weight all the way around, instead of thinning out on the diagonals.
- Measuring fine texture. Scharr picks up subtle gradients well, so its map shows where fine texture and detail sit in a picture before you denoise or compress it.
- Feature work for computer vision. Scharr gradients are a common input for orientation and corner measures; this gives you the gradient magnitude image to inspect directly.
Examples
Outline a logo
Input
logo.png
Output
White Scharr edge lines on black, same size as the input
About the Apply Scharr Edge Filter tool
Apply Scharr Edge Filter runs as plain JavaScript in your browser tab, with no server behind it. Detect edges in a PNG with the Scharr operator, whose weights keep diagonal edges as strong as straight ones. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's PNG Tools section, 292 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
You can shape the output with 4 settings, including Strength (%), Edges, Hard edge threshold (%, 0 keeps soft edges) and Look; the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, there is no upload to wait for, and it is safe to use with confidential photos and documents.
Frequently asked questions
Does Apply Scharr Edge Filter cost anything?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
Which files does Apply Scharr Edge Filter accept?
It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.
Related tools
All PNG Tools →Apply Sobel Filter to PNG
Trace the outlines in a PNG with the Sobel edge operator, as soft white lines on black or dark lines on white.
Apply Prewitt Filter to PNG
Map the horizontal and vertical brightness gradients in a PNG with the Prewitt operator and save them as an edge image.
Apply Canny Edge Detector
Trace clean single-pixel outlines in a PNG with the Canny detector: blur, gradient, thinning and hysteresis.
Detect Edges in PNG
Find the edges in a PNG with your choice of Sobel, Prewitt, Scharr, Laplacian or Canny and save them as an image.