Skip to content

Commit

Permalink
Fix filters
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sbs20 committed Nov 3, 2023
1 parent ea8da2c commit f0ef40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-server/src/classes/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = class Config {
filters: [
{
description: 'filter.auto-contrast',
params: '-auto-contrast'
params: '-equalize'
},
{
description: 'filter.auto-level',
Expand All @@ -92,7 +92,7 @@ module.exports = class Config {
},
{
description: 'filter.more-contrast',
params: '-level 90%,10%'
params: '+contrast +contrast +contrast'
}
],

Expand Down

0 comments on commit f0ef40d

Please sign in to comment.