Skip to content
Skills Library
Design & UX · Conversion & formats

truepixel

/truepixel

Turn an AI-generated "pixel art" image (blurry blocks, uneven pixels, thousands of colours, white background) into a real sprite - one pixel per cell, a small palette, transparent background, bottom-centred on a square canvas. Use when the user has an AI or upscaled pixel-art image and wants a usable sprite, a game asset, a true-resolution PNG, fewer colours, or a palette snap.

Repository
truepixel ↗
Licence
MIT
Last repository change
28.10.2026

Assessment and security

96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content31 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Turn an AI-generated "pixel art" image (blurry blocks, uneven pixels, thousands of colours, white background) into a real sprite - one pixel per cell, a small palette, transparent background, bottom-centred on a square canvas. Use when the user has an AI or upscaled pixel-art image and wants a usable sprite, a game asset, a true-resolution PNG, fewer colours, or a palette snap.

Triggers from the description

pixel art
Original author description

Turn an AI-generated "pixel art" image (blurry blocks, uneven pixels, thousands of colours, white background) into a real sprite - one pixel per cell, a small palette, transparent background, bottom-centred on a square canvas. Use when the user has an AI or upscaled pixel-art image and wants a usable sprite, a game asset, a true-resolution PNG, fewer colours, or a palette snap.

How it works

SKILL.md has no level-two headings · 15 lines, 185 words

SKILL.md preview
---
name: truepixel
description: Turn an AI-generated "pixel art" image (blurry blocks, uneven pixels, thousands of colours, white background) into a real sprite - one pixel per cell, a small palette, transparent background, bottom-centred on a square canvas. Use when the user has an AI or upscaled pixel-art image and wants a usable sprite, a game asset, a true-resolution PNG, fewer colours, or a palette snap.
---

# truepixel

1. Run from the repo root (needs `pip install numpy pillow`):
   ```bash
   python truepixel.py <image> --out-dir <dir>
   ```
   It writes `<dir>/<name>.sprite.png` (the real sprite) and `<dir>/<name>.preview.png` (before | after, zoomed).
2. Read the first output line: `880x672 (sprite area 680x558) -> 114x93 sprite (pixel 6), 24 colours, ...`.
   - If it prints `WARNING no pixel grid`, the grid was not found. Measure one fake pixel's width in the image (or try 4, 6, 8) and run again with `--scale N`.
   - A sprite that looks too big or too small means the pixel size is wrong: raise `--scale` for a smaller sprite.
3. Open the preview image and check: outline closed, eyes and small accents kept, no white halo, nothing cut off.
4. Useful options: `--colors 15` (16-bit console look), `--palette p.hex` (snap to a .hex or GIMP .gpl palette), `--canvas 0` (no canvas, tight crop), `--canvas 64 --margin 2`, `--keep-background` (image already has the background you want), `--ground-band 1.0` (keep brown ground).
5. Report the sprite size, colour count and the preview path. Do not call it done while step 3 fails.

Versions

The database has no other skills named truepixel.

Database snapshot: 13.11.2026 · package version f291b8a1e2a5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95sprite-gen
    Turns existing art into clean 2D game sprites: background removal to real alpha, sheet slicing, transparent animation loops from a video clip, palette swaps, and small pixel art drawn by Claude (pixel-draw, up to 48 px). Use when asked to cut out, slice, loop or recolor sprite…
  • 100pixel-art-generation
    Use when generating pixel art sprites, animations, backgrounds, thumbnails, or processing sprite sheets for games. Triggers on requests like "create a sprite", "generate pixel art", "make game assets", "split sprite sheet", "remove background from sprite".
  • 90pixel-art
    Turns a reference image into 64x64 pixel art with approval gates (description -> generated image -> export) and saves HTML/PNG/SVG, with and without background, under output/. Use when the user sends a reference image and asks for pixel art ("transforma em pixel art", "pixel art…
  • 100sprite-spec
    Specify pixel-art sprites: palette, proportions, animation states, frame counts, and AI image prompts. Use when designing a character sprite or sprite sheet spec.
  • 1002d-pixel-asset
    Generate 2D pixel art game assets using Google Gemini via Chrome browser automation. Triggers when the user wants to create pixel art, game sprites, tilesets, game assets, or edit existing game art. Supports reference image uploads for style consistency, model selection…
  • 100pixel-art-sprites
    Use this skill when creating pixel art sprites, animating sprite sheets, building tilesets for 2D games, or managing indexed color palettes. Triggers on pixel art, sprite sheet, sprite animation, tileset, tile map, pixel palette, indexed color, dithering, sub-pixel animation,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.