Neos.Media/Classes/Domain/Model/ImageVariant.php
public function addAdjustments(array $adjustments): void
    {
        foreach ($adjustments as $adjustment) {
            $this->applyAdjustment($adjustment);
        }
        $this->refresh();
    }
public function addAdjustments(array $adjustments): void
    {
        foreach ($adjustments as $adjustment) {
            $this->applyAdjustment($adjustment);
        }
        $this->refresh();
    }
public function addAdjustments ( array $ adjustments ) : void { foreach ( $ adjustments as $ adjustment ) { $ this -> applyAdjustment ( $ adjustment ) ; } $ this -> refresh ( ) ; }
Adds the given adjustments to the list of adjustments applied to this image variant.

If an adjustment of one of the given types already exists, the existing one will be overridden by the new one.

@param array<ImageAdjustmentInterface> $adjustments
@return void
@throws Exception
@throws ImageFileException
@throws InvalidConfigurationException
@throws \Exception
Adds the given adjustments to the list of adjustments applied to this image variant .