BrightnessContrast
lua
app.command.BrightnessContrast {
ui=true,
channels=FilterChannels...,
brightness=0,
contrast=0
}
ui
: Shows the dialog on the screen,true
by default. Set tofalse
for automatic change brightness and/or contrast without asking to the user for the change.channels
: A combination of FilterChannels with bitwise OR (|
) operator. By default it is equal to: FilterChannels.RED | FilterChannels.GREEN | FilterChannels.BLUE | FilterChannels.GRAY.brightness
: Brightness factor (0
by default), a value between-100
and100
.contrast
: Contrast factor (0
by default), a value between-100
and100
.