contrast

class actions.contrast.Action(**options)

Bases: core.models.Action

Adjust from grey to black & white

static init()
interface(fields)
static pil(image, amount=50)
Adjust brightness from black to white - amount: -1(black) 0 (unchanged) 1(white) - repeat: how many times it should be repeated
actions.contrast.contrast(image, amount=50)
Adjust brightness from black to white - amount: -1(black) 0 (unchanged) 1(white) - repeat: how many times it should be repeated
actions.contrast.init()

Previous topic

contour

Next topic

convert_mode