From f0ef40d8584ea2ea49ae9085ad8ed4e86d929c8a Mon Sep 17 00:00:00 2001 From: sbs20 Date: Fri, 3 Nov 2023 12:36:51 +0000 Subject: [PATCH] Fix filters It seems that the filters added in #617 were not stable / reliable. This is most likely due to behavioural inconsistencies between imagemagick. We need to work across versions going back years. That said, I couldn't see that they worked on any default version dating from buster to bookworm. --- app-server/src/classes/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-server/src/classes/config.js b/app-server/src/classes/config.js index c4193604..4f299b82 100644 --- a/app-server/src/classes/config.js +++ b/app-server/src/classes/config.js @@ -76,7 +76,7 @@ module.exports = class Config { filters: [ { description: 'filter.auto-contrast', - params: '-auto-contrast' + params: '-equalize' }, { description: 'filter.auto-level', @@ -92,7 +92,7 @@ module.exports = class Config { }, { description: 'filter.more-contrast', - params: '-level 90%,10%' + params: '+contrast +contrast +contrast' } ],