Skip to content
Pet Studio journal

Fix a white halo around a transparent pixel pet

Diagnose pale outlines around a custom pixel pet with a two-background test and an edge cleanup exercise.

The fringe shows up only after you switch to dark mode

Put the original PNG on charcoal, then on white. View it at 100% in a pixel editor. If the pale edge is visible there, zoom in with the pixel grid on and sample one suspect pixel. If it only appears after the browser scales the image, leave the artwork alone until you check an integer-size preview. The crisp PNG guide shows how to isolate that part of the problem.

Repair three pixels before retouching the whole outline

Take an example pet with a blue-gray ear against a pale photo background. After removing the background, three pixels around the ear still look pale over charcoal. Duplicate the artwork and inspect those three pixels:

  • Remove a pixel if it was part of the background and contributes nothing to the silhouette.
  • If it belongs to the ear, try a nearby coat color. Keep it opaque if the style uses a hard pixel edge.
  • If the original intentionally uses a soft edge, preserve the alpha and replace the pale background tint with a color from the pet.

Turn the cleaned layer on and off at 1×. The ear should retain its shape without a light rim. Repeat on white: deleting an entire edge to make it pass on charcoal can leave the pet looking chipped on a light page.

Check the animation with one pixel under observation

Step through a blink or head turn over the dark background. A single uncleaned frame can flash even when every still looks fine at a glance. Fix the source frame, export again, and open the exported file against both backgrounds. If you only have a composited image rather than the layered original, work on a copy and keep the original untouched.

Sources and boundaries

This editorial note is provided for education and creative inspiration. Product terms and availability may change.

Last reviewed .

transparent pixel pet PNG

Pet Studio creates a downloadable artifact; it does not claim ownership of third-party agent products or guarantee compatibility beyond the exported format.