interface ImageAdjustmentInterface implements AdjustmentInterface (View source)

Interface for an Image Adjustment

Methods

ImageInterface
applyToImage(ImageInterface $image)

Applies this adjustment to the given Imagine Image object

void
setImageVariant(ImageVariant $imageVariant)

Sets the image variant this adjustment belongs to

bool
canBeApplied(ImageInterface $image)

Check if this Adjustment can or should be applied to its ImageVariant.

Details

ImageInterface applyToImage(ImageInterface $image)

Applies this adjustment to the given Imagine Image object

Parameters

ImageInterface $image

Return Value

ImageInterface

void setImageVariant(ImageVariant $imageVariant)

Sets the image variant this adjustment belongs to

Parameters

ImageVariant $imageVariant

Return Value

void

bool canBeApplied(ImageInterface $image)

Check if this Adjustment can or should be applied to its ImageVariant.

Parameters

ImageInterface $image

Return Value

bool