added filter.flip feature

master
Vladimir Mandic 2021-04-19 16:02:56 -04:00
parent ffe0a307e5
commit 97aef7ac17
1 changed files with 1 additions and 0 deletions

@ -79,6 +79,7 @@ const config: Config = {
// if just one is set, second one is scaled automatically // if just one is set, second one is scaled automatically
// if both are set, values are used as-is // if both are set, values are used as-is
return: true, // return processed canvas imagedata in result return: true, // return processed canvas imagedata in result
flip: false, // flip input as mirror image
brightness: 0, // range: -1 (darken) to 1 (lighten) brightness: 0, // range: -1 (darken) to 1 (lighten)
contrast: 0, // range: -1 (reduce contrast) to 1 (increase contrast) contrast: 0, // range: -1 (reduce contrast) to 1 (increase contrast)
sharpness: 0, // range: 0 (no sharpening) to 1 (maximum sharpening) sharpness: 0, // range: 0 (no sharpening) to 1 (maximum sharpening)