snap_to_palette
Map an image to a selected color palette using perceptual distance for artistic coherence. Reduce banding with optional Floyd-Steinberg dithering.
Instructions
이미지를 큐레이션 팔레트로 스냅(OKLab 지각 거리, 아트 코히어런스).
Args: src: 입력 이미지 경로. dst: 출력 경로. palette: 팔레트 이름(pico8/sweetie16/db16/edg32). list_palettes 로 확인. dither: Floyd-Steinberg 디더링으로 그라데이션 띠/노이즈 완화.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | ||
| src | Yes | ||
| dither | No | ||
| palette | Yes |