Images · lib · 7K
Pure 1-bit dithering kernels with no DOM: Atkinson, Floyd–Steinberg, Bayer 4×4 and 8×8, and plain threshold. Rec. 601 luma with contrast, gamma and serpentine scanning; row-by-row so large images can be spread over idle time.
pnpm dlx shadcn@latest add @s7ui/dither