From e7b605785924d562da63d6404a8d0acb6dcd94f0 Mon Sep 17 00:00:00 2001 From: jamz-uk <222520099+jamz-uk@users.noreply.github.com> Date: Thu, 21 Aug 2025 20:10:28 +0100 Subject: [PATCH] dithering --- Auto-Image.js | 189 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 161 insertions(+), 28 deletions(-) diff --git a/Auto-Image.js b/Auto-Image.js index 2bd7c2b..a0b1663 100644 --- a/Auto-Image.js +++ b/Auto-Image.js @@ -16,6 +16,7 @@ OVERLAY: { OPACITY_DEFAULT: 0.6, BLUE_MARBLE_DEFAULT: false, + ditheringEnabled: false, }, // --- START: Color data from colour-converter.js --- // New color structure with proper ID mapping @@ -977,6 +978,7 @@ cooldownChargeThreshold: CONFIG.COOLDOWN_CHARGE_THRESHOLD, overlayOpacity: CONFIG.OVERLAY.OPACITY_DEFAULT, blueMarbleEnabled: CONFIG.OVERLAY.BLUE_MARBLE_DEFAULT, + ditheringEnabled: false, // Advanced color matching settings colorMatchingAlgorithm: 'lab', // 'lab' | 'legacy' enableChromaPenalty: true, @@ -4125,6 +4127,13 @@ +