class Improve extends BlendEffectQualifier

Defines how to improve an image by automatically adjusting image colors, contrast and brightness.

Learn more: Image improvement effects

Methods

__construct($blend = null, null $mode = null)

Improve constructor.

indoor(int $blend = null)

Sets the improve effect to INDOOR mode.

outdoor(int $blend = null)

Sets the improve effect to OUTDOOR mode.

Details

__construct($blend = null, null $mode = null)

Improve constructor.

Parameters

Name Type Description
$blend
$mode null

static Improve indoor(int $blend = null)

Sets the improve effect to INDOOR mode.

Use this mode to get better results on images with indoor lighting and shadows.

Parameters

Name Type Description
$blend int How much to blend the improved result with the original image, where 0 means only use the original and 100 means only use the improved result.

Return Value

Improve

static Improve outdoor(int $blend = null)

Sets the improve effect to OUTDOOR mode.

Parameters

Name Type Description
$blend int How much to blend the improved result with the original image, where 0 means only use the original and 100 means only use the improved result.

Return Value

Improve