Alpha Signed Distance Field
Convert a transparent silhouette into an opaque grayscale distance texture with a controllable spread.
Drop your image here
Drag and drop, or choose a file below
JPG · PNG · WEBP
Up to 250 MB · One image at a time
Each image: up to 16 megapixels and 8192 px per side
The transform is exact for pixel-center distances, but the half-pixel contour is an approximation of the continuous outline, especially on diagonals. Outside the canvas is not sampled. Fully opaque or transparent masks become solid white or black; JPEG usually has no useful alpha silhouette.
Original
Choose an image or try the sample to see your preview here.
100% local processing
How to use
- 01
Choose an image or try the local sample.
- 02
Use a PNG or WebP with alpha, start with threshold 128 and spread 16 px, and confirm the silhouette before exporting.
- 03
Review the result and download the file.
Details and tips
How it works
Thresholds alpha, then computes Euclidean distances to opposite-class pixel centers with linear-time separable transforms. Subtracts half a pixel as a contour convention. Inside is lighter than middle gray; outside is darker. Values saturate at the chosen spread; invert reverses them.
Made for everyday images
Prepare single-channel distance textures for shader experiments, soft masks and scalable silhouette effects. This is not a multichannel MSDF generator.
Frequently asked questions
Are images uploaded?
No. Processing, previews and downloads stay on your device.
What are the limits?
JPG, PNG and WebP, up to 250 MB, 8192 pixels per side and 16 million pixels. Expanded output must also fit these limits. Animation uses one still frame.