Repository navigation
v0.4.0: Nearest-Neighbor Pixel Scaling, True-Black LED Post-Processing & Agent Skill Enhancements
LatestWhat's New in v0.4.0
👾 Nearest-Neighbor Sampling Mode (--nearest / --sampling-mode)
- Crisp Pixel Art Scaling: Added
SamplingMode(BILINEARdefault,NEAREST_NEIGHBOR) acrossPixooImage,ImageProcessor,GifDecoder,PixooClient, andpixoo-cli(#2). - Zero Anti-Aliasing Blur: Preserves razor-sharp 1px edges and exact palette colors when downscaling high-resolution AI-generated sprite sheets or upscaling 16×16 / 32×32 retro sprites to the 64×64 matrix.
- CLI Flags: Added
-n, --nearestand--sampling-mode <bilinear|nearest>to bothpixoo-cli imageandpixoo-cli gif.
💡 Physical LED Matrix Post-Processor (--led-optimize / LedPostProcessor)
- True-Black (
#000000) Clamping: AddedLedPostProcessorto clamp near-black dark/shadow background pixels (max(R, G, B) <= blackThreshold, default15) to exact#000000so unlit LEDs physically power off instead of firing at minimum PWM duty cycle and causing gray diffuser haze (#3). - Semi-Transparent Alpha Compositing: Automatically composites semi-transparent pixels over black before applying the True-Black threshold.
- Pure-Java Diffuser Saturation Boost: Optional zero-allocation, AWT-free HSV saturation boost (
saturationBoost) to help colors punch through the matte diffuser while preserving GraalVM native-image compatibility on macOS. - CLI Flags: Added
-o, --led-optimizeand--black-threshold <0..255>(which automatically enables LED optimization) topixoo-cli imageandpixoo-cli gif(including remote--urlGIF streams).
🧩 Unified Java API Overloads
- Added complete
(ScaleMode, SamplingMode, LedPostProcessor)overload combinations acrossPixooClient.sendImage(PixooImage/BufferedImage/Path)andPixooClient.sendGif(InputStream/Path/URI)+sendGifUrl(String).
🤖 Enhanced pixoo64 Agent Skill & AI Prompt Blueprints
- Physical LED Optical & Temporal Bible (
skills/pixoo64/references/pixoo64-led-bible.md): Documented the True-Black (#000000) LED-off law, diffuser saturation rules (HSV Saturation >= 0.65), 3-step neon bloom ramp, 32-frame hardware ceiling, and static background locking (#1). - Empirical Animation Archetypes (
skills/pixoo64/references/discovered-patterns.md): Addedscenic-loop,character-sprite,abstract-shader,widget-hud, andtypography-marqueedesign patterns. - Gemini Nano Banana Prompt Templates (
skills/pixoo64/references/nano-banana-prompts.md): Added ready-to-use prompt blueprints andffmpeg2×2 sprite-sheet slicing workflows. - Curated LED Palettes (
skills/pixoo64/references/palettes.json): Added 9 high-saturation, True-Black-anchored palettes tailored for the 64×64 matrix.
🛠️ Build & Developer Experience
- Added
AGENTS.mdcoding agent guide at the repository root. - Added Maven Wrapper (
./mvnw) configured with Maven 3.10.0.
🙏 Contributors
Special thanks to @alexismp for contributing PRs #1, #2, and #3!
📦 Pre-compiled Native Binaries
Instantaneous startup (<5ms) without requiring a JVM:
- macOS (Apple Silicon / aarch64):
pixoo-cli-macos-aarch64.zip - Linux (x86_64):
pixoo-cli-linux-amd64.zip - Windows (x86_64):
pixoo-cli-windows-amd64.zip