QualityImageAdjustment
class QualityImageAdjustment extends AbstractImageAdjustment (View source)
An adjustment for quality of an image
Properties
protected int | $position | ||
protected ImageVariant | $imageVariant | from AbstractImageAdjustment | |
protected int | $quality |
Methods
void
int|null
getQuality()
Returns quality
void
setQuality(int $quality = null)
Sets quality
ImageInterface
applyToImage(ImageInterface $image)
Applies this adjustment to the given Imagine Image object
bool
canBeApplied(ImageInterface $image)
Check if this Adjustment can or should be applied to its ImageVariant.
Details
__construct(array $options = [])
Constructs this adjustment
void
setImageVariant(ImageVariant $imageVariant)
Sets the image variant this adjustment belongs to
int
getPosition()
No description
setPosition(int $position)
No description
int|null
getQuality()
Returns quality
void
setQuality(int $quality = null)
Sets quality
ImageInterface
applyToImage(ImageInterface $image)
Applies this adjustment to the given Imagine Image object
bool
canBeApplied(ImageInterface $image)
Check if this Adjustment can or should be applied to its ImageVariant.