From d09e9372d74917cedbfe9693b1d119d2ed511ef1 Mon Sep 17 00:00:00 2001 From: jfrs <4005764+jfrs@users.noreply.github.com> Date: Fri, 24 Apr 2026 12:09:47 +0100 Subject: [PATCH] Update README examples using new palette --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f5b71bc..bfbb660 100644 --- a/README.md +++ b/README.md @@ -90,15 +90,15 @@ If you do not want to choose a preset manually, use the auto recommender. It ana import { ditherImage, replaceColors, - spectra6Palette, + aitjcizeSpectra6Palette, suggestCanvasProcessingOptions, } from "epdoptimize"; -const suggestion = suggestCanvasProcessingOptions(inputCanvas, spectra6Palette); +const suggestion = suggestCanvasProcessingOptions(inputCanvas, aitjcizeSpectra6Palette); await ditherImage(inputCanvas, ditheredCanvas, { ...suggestion.ditherOptions, - palette: spectra6Palette, + palette: aitjcizeSpectra6Palette, }); replaceColors(ditheredCanvas, deviceCanvas, aitjcizeSpectra6Palette); @@ -214,7 +214,7 @@ const config = { }, }; -const palette = spectra6Palette; +const palette = aitjcizeSpectra6Palette; await ditherImage(inputCanvas, ditheredCanvas, { ...config.ditherOptions,