HumHub Documentation (unofficial)

EffectsInterface

Interface for the effects.

Table of Contents

Methods

blur()  : $this
Blur the image.
brightness()  : $this
Changes the brightness of the image.
colorize()  : $this
Colorize the image.
convolve()  : $this
Convolves the image.
gamma()  : $this
Apply gamma correction.
grayscale()  : $this
Grayscale the image.
negative()  : $this
Invert the colors of the image.
sharpen()  : $this
Sharpens the image.

Methods

brightness()

Changes the brightness of the image.

public brightness(int $brightness) : $this
Parameters
$brightness : int

The level of brightness (-100 (black) to 100 (white))

Tags
throws
RuntimeException
Return values
$this

gamma()

Apply gamma correction.

public gamma(float $correction) : $this
Parameters
$correction : float
Tags
throws
RuntimeException
Return values
$this

        
On this page

Search results