Add Stroke to PNG
Add a colored stroke outline around the non-transparent parts of a PNG.
Drop an image here
PNG, JPG, WebP, GIF or BMP. You can also paste an image.
No result yet
Options
How to use
- 1
Upload a PNG with transparent areas.
- 2
Set the stroke width and color.
- 3
Click Download to save.
Example
Before640 × 640

After646 × 646

Frequently asked questions
Does this work on fully opaque images?
The stroke is added around the entire image rectangle if there is no transparency.
About this tool
Add Stroke to PNG draws a solid outline around all non-transparent pixels in your image. Set the stroke width and color. The output canvas is expanded so the stroke is never clipped. All processing runs locally in your browser. Your image is never uploaded to a server.
Related tools
Add Outline to PNGDraw a colored outline around visible parts.Remove Outline from PNGErode outer edge pixels to remove outline.Find PNG OutlineDetect edges using Sobel edge detection.Feather PNG EdgesSoften the edges of a PNG.Clean PNG EdgesClean up rough edges on a PNG.Harden PNG EdgesSharpen and harden PNG edges.Refine PNG EdgesRefine the edges of a PNG.