apply_palette_preset
Set a sprite's palette to a built-in retro preset like gameboy, pico8, or c64. Changes the palette only; run quantize_to_palette after to snap pixels to the new colors.
Instructions
Set the sprite palette to a built-in retro preset.
This only sets the palette; existing pixels keep their colors. Use quantize_to_palette afterwards to snap pixels to the new palette.
Args: filename: Aseprite file to modify preset: One of: gameboy, monochrome, grayscale_4, cga, pico8, c64, dawnbringer16, dawnbringer32
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | Yes | ||
| filename | Yes |