CommonAdjustmentTrait
trait CommonAdjustmentTrait
Trait CommonAdjustmentTrait
Methods
brightness(int $level = null)
Adjusts the brightness.
contrast(int $level = null)
Adjusts the contrast.
saturation(int $level = null)
Adjusts the color saturation.
gamma(int $level = null)
Adjusts the gamma level.
by3dLut(string $lutId = null)
Applies the 3D LUT file to the asset.
generic(string $name, mixed ...$args)
Applies any effect.
Details
static LevelEffectAction
brightness(int $level = null)
Adjusts the brightness.
static LevelEffectAction
contrast(int $level = null)
Adjusts the contrast.
static LevelEffectAction
saturation(int $level = null)
Adjusts the color saturation.
static LevelEffectAction
gamma(int $level = null)
Adjusts the gamma level.
static LutLayer
by3dLut(string $lutId = null)
Applies the 3D LUT file to the asset.
static EffectAction
generic(string $name, mixed ...$args)
Applies any effect.
This is a generic way to apply an effect. For example, you could set $name to "gamma" and $args to 50, and this would have the same effect as calling gamma(50).