pixel-art

Convert images into retro pixel art PNGs and animate them into MP4 or GIF videos.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill pixel-art-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pixel-art
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/creative/pixel-art
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill pixel-art-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, ffmpeg, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating era-accurate retro pixel art from photos requires manual palette selection, dithering, and pixel-grid alignment, and animating it with effects like rain or fireflies normally demands frame-by-frame work. ## Core Features & Use Cases - Preset-based pixel conversion: Transform any image into pixel art using 14 presets (arcade, NES, Game Boy, PICO-8, C64, SNES, and more) with Floyd-Steinberg dithering and hardware-accurate palettes. - Procedural animation overlays: Turn a pixel-art PNG into a looping MP4 or GIF with 12 scenes including night skies, storms, snow, underwater bubbles, and neon pulse. - Use Case: A game developer needs a Game Boy-style avatar for a profile picture and a short animated rain scene for a social post. They convert a photo with the gameboy preset, then animate it with the urban scene into a 6-second MP4. ## Quick Start Convert my photo portrait.jpg into NES-style pixel art and animate it with the night scene as a 6-second MP4.

Frequently Asked Questions about pixel-art

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a photo to pixel art in Python?▼

Use the pixel_art() function with a preset like 'nes' or 'arcade' to downscale the image with NEAREST resampling and quantize it with Floyd-Steinberg dithering. The result is saved as a PNG with hard pixel blocks matching the preset's block size.

How to make an animated pixel art GIF or MP4?▼

Run pixel_art_video() on a pixel-art PNG with a scene like 'night', 'storm', or 'snow' to overlay procedural particle effects frame by frame. It encodes to MP4 via ffmpeg libx264 and optionally exports a GIF using palettegen and paletteuse filters.

What retro console palettes are available for pixel art?▼

There are 28 named palettes including NES (54 colors), Game Boy DMG and Pocket (4 shades), PICO-8, C64, ZX Spectrum, Apple II, MSX, and Virtual Boy. Artistic palettes like NEON_CYBER and PASTEL_DREAM are also included.

Does pixel art video generation require ffmpeg?▼

Yes, ffmpeg must be on PATH for video encoding; the script raises a RuntimeError if it is missing. The still-image pixel_art() conversion only needs Pillow and works without ffmpeg.

Why does my pixel art look wrong with small source images?▼

Sources under 100 pixels wide collapse under 8-10px block sizes, destroying detail. Upscale the source image first, or choose a preset with a smaller block size like 'snes' (4px) or 'pico8' (6px).