How to Turn an Image into Pixel Art (and Keep It Crisp in Engine)
Convert a photo or illustration into pixel art: pick the size, limit the palette, choose dithering, then import it into Unity or Unreal without blur.
In this article
Converting an image into pixel art is a fast way to get a base for sprites, portraits, item icons or backgrounds. A converter will not replace a pixel artist, but it gets you 70% of the way in seconds, and the remaining 30% is the fun part. Here is how to get a good conversion and keep it sharp in Unity or Unreal Engine.
Step 1: pick a good source image
The source decides most of the result.
- One clear subject with a strong silhouette.
- Plain background, or a transparent PNG.
- Even lighting with clear shapes, not tiny details.
- High contrast between the subject and its surroundings.
A busy photo of a street becomes coloured noise at 64 pixels. A character illustration on a plain background becomes a recognisable sprite.
Step 2: choose the final size first
Pixel art is defined by its size. Decide it before anything else:
| Use | Typical width |
|---|---|
| Item icons, small sprites | 16–32 px |
| Characters, enemies | 32–64 px |
| Portraits, large characters | 64–128 px |
| Backgrounds | 160–320 px |
Step 3: downscale
Two methods:
- Average: blends all source pixels that fall into each new pixel. Best for photos and smooth art.
- Nearest: picks one source pixel. Keeps hard edges, good for art that is already flat.
Step 4: limit the palette
Real pixel art uses few colours. Limiting the palette is what makes a downscaled image look like pixel art instead of a small photo.
- 8–16 colours look like classic pixel art.
- Use a preset palette (such as PICO-8 or Sweetie 16) to make all your sprites match.
- Or generate a palette from the image and reuse it for related sprites.
A small boost to contrast and saturation before converting helps; small sprites look flat otherwise.
Step 5: choose dithering
Dithering mixes two colours in a pattern to fake a third.
- None: clean flat areas. Best for sprites and icons.
- Ordered (Bayer): a regular retro pattern. Good for gradients, skies and backgrounds.
- Floyd–Steinberg: smoother but noisier. Suits photos and large images.
Step 6: clean up by hand
Open the result in Aseprite, LibreSprite or any editor and:
- remove orphan pixels (single pixels of an odd colour),
- fix the outline so it is one pixel wide and continuous,
- add highlights where the light hits,
- simplify noisy areas into flat colour.
The free Pixel Art Converter handles steps 2–5 in your browser (nothing is uploaded): width slider, average or nearest downscaling, auto or preset palettes, three dithering modes, contrast and saturation, and an optional 1-pixel outline. It exports the sprite as PNG at 1x to 8x, and the palette as PNG, GPL, HEX or JSON.
Step 7: import without blur
Export at 1x for the engine and let the engine scale it with nearest filtering. Use 4x or 8x exports only for store pages and social media, where websites would blur small images.
Unity
- Filter Mode: Point (no filter)
- Compression: None
- Generate Mip Maps: off
- Pixels Per Unit: your sprite size (for example 16 or 32)
- Use the Pixel Perfect Camera (URP 2D) for crisp movement.
Unreal Engine (Paper2D)
- Right-click the texture: Sprite Actions → Apply Paper2D Texture Settings, or set:
- Filter: Nearest
- Compression: UserInterface2D (RGBA)
- Mip Gen Settings: NoMipmaps
Summary
- Simple, high-contrast source images convert best.
- Choose the final size first, then limit the palette to 8–16 colours.
- No dithering for sprites; ordered dithering for gradients.
- Clean up by hand, export at 1x, import with nearest filtering and no compression.
Frequently asked questions
Can I make pixel art from a photo?
Yes, as a starting point. Simple subjects with a clear silhouette work best. Busy photos turn into noise at small sizes, and every good conversion still needs some hand cleanup.
What size should pixel art sprites be?
Common sizes are 16 × 16 or 32 × 32 for items and small characters, 48 to 128 pixels for larger characters and portraits, and up to 320 pixels wide for backgrounds.
Why is my pixel art blurry in Unity?
Filtering is on. Set Filter Mode to Point (no filter), Compression to None and turn off Generate Mip Maps. Use the Pixel Perfect Camera for crisp movement.
Why is my pixel art blurry in Unreal Engine?
Right-click the texture and choose Sprite Actions > Apply Paper2D Texture Settings, or set Filter to Nearest, Compression to UserInterface2D and Mip Gen Settings to NoMipmaps.