mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
add brighten_image script function, 'average' and 'offset' combine modes
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Function: brighten_image
|
||||
|
||||
DOC_MSE_VERSION: since 2.6.0
|
||||
|
||||
--Usage--
|
||||
> brighten_image(input: image, amount: brightening amount)
|
||||
|
||||
Brighten or darken an image.
|
||||
|
||||
To brighten use an amount between @0@ (no effect) and @1@ (entire image is pure white).
|
||||
|
||||
To darken use an amount between @0@ (no effect) and @-1@ (entire image is pure black).
|
||||
|
||||
--Parameters--
|
||||
! Parameter Type Description
|
||||
| @input@ [[type:image]] Image to brighten/darken.
|
||||
| @alpha@ [[type:double]] Brightening factor.
|
||||
Reference in New Issue
Block a user