Beginner · Outlined Sprite · Free Windows pixel art editor
How to Add a 1-Pixel Outline to a Pixel Art Sprite
Give a small shield sprite a clearer silhouette without tracing the edge by hand. Compare an inside and outside border, then export a transparent PNG.

Example files
What you'll make
A one-pixel outline can separate a small game sprite from a background with similar colors. In this example you will give a teal and gold shield a dark border, then see what changes when the border goes inside the silhouette instead. The finished PNG stays 32 × 32 pixels: the border takes up some empty space inside the canvas, not extra canvas space.
Start with any solid shape on a transparent layer if you do not have a shield. The filter follows the existing edge, so a clear silhouette gives you a better result than a busy shape with isolated pixels.
Step 1: Leave room around the shield
Choose File → New artwork and use the 32² preset with a Transparent background and Square Pixels (1:1). With Pencil, sketch a shield with a wide top, straight shoulders, and a stepped point at the bottom. Fill the shape with teal and add a gold rim or a simple gold mark inside. You do not need to copy the sample pixel for pixel.
Keep at least one transparent row or column between the shield and every canvas edge. If the art already has a background, put the background on a separate layer and select the shield layer. Clear any tight pixel selection: it can leave no writable transparent pixels on the outside of the edge.

Step 2: Preview a one-pixel outside outline
Open Adjustments, set Filter to Outline, and leave Scope on Current cel. In a still image, that targets the drawing on the selected layer and current frame. Select Outside (adds pixels) for Placement and choose a dark blue or charcoal for Outline color. Turn off Preserve alpha, which otherwise prevents the filter from making empty pixels opaque.
Leave Repeat boundaries off: a standalone shield should not read neighboring pixels across the opposite side of the canvas. Start with Include diagonal neighbors off. In the preview, look at the top corners and bottom point, then turn the option on to compare. It can connect corner pixels, but it can also make a stepped point look heavier. Choose the setting that keeps the shield readable at actual size.

Step 3: Compare the inside border before applying
Switch Placement to Inside (preserves alpha) in the same dialog. The border now recolors the edge pixels rather than extending into empty space. Use this version if the shield must keep its exact silhouette, has no breathing room around it, or is in indexed color mode. Look at the gold rim: with an inside border, a thin rim may lose too much of its original color.
For this shield, switch back to Outside and keep Preserve alpha off so the gold stays visible. Check the preview and click Apply. Adjustments do not change the sprite until you apply them, so you can compare the two placements without undoing a series of edits.

If the border is missing or clipped
If nothing appears, first check that the active cel contains the shield, the layer is unlocked, and Preserve alpha is off for an outside border. If only one side is missing, clear the selection and look for the canvas edge. Enlarge the canvas without scaling the drawing if you cannot fit a row of empty pixels around it.
At 100% zoom, compare the outlined sprite against light and dark surfaces. A dark border may stand out on a pale inventory slot but blend into a near-black one. If the point gets muddy, try turning diagonal neighbors off or choosing a border color that sits between the two backgrounds. For a fair comparison, keep the same background and zoom level when checking the original and the outlined sprite side by side.
Export the shield as a transparent PNG
Keep the editable artwork with File → Save project. Then choose File → Export, select PNG, and use RGBA, Whole canvas, and 1× scale. Check for 32 × 32 pixels in the export settings before saving.
Open the PNG separately and check the corners for transparency. You should see a border around the shield, not around the canvas. For a larger on-screen preview, scale with nearest-neighbor filtering so the edge stays sharp.
Related manual pages
For more detail about the tools used in this project, consult the user manual:
Related tutorials
- How to Make a 16×16 Pixel Art Potion Icon — Draw a tiny potion bottle with a mirrored silhouette, a cork, and a glass highlight. Export it as a transparent icon for a game inventory.
- How to Draw Symmetrical Pixel Art — Paint one side of a moth sprite and mirror the wings as you draw. Finish with a small marking that appears only on one side.
Create your own with SpriteOpal
Make and export your own pixel art with the free Windows editor.
Get SpriteOpal for Windows