Neos.Media/Classes/Domain/Model/ImageVariant.php
protected function renderResource(): void
    {
        $processedImageInfo = $this->imageService->processImage($this->originalAsset->getResource(), $this->adjustments->toArray());
        $this->resource = $processedImageInfo['resource'];
        $this->width = $processedImageInfo['width'];
        $this->height = $processedImageInfo['height'];
        $this->persistenceManager->whitelistObject($this->resource);
    }
protected function renderResource(): void
    {
        $processedImageInfo = $this->imageService->processImage($this->originalAsset->getResource(), $this->adjustments->toArray());
        $this->resource = $processedImageInfo['resource'];
        $this->width = $processedImageInfo['width'];
        $this->height = $processedImageInfo['height'];
        $this->persistenceManager->whitelistObject($this->resource);
    }
protected function renderResource ( ) : void { $ processedImageInfo = $ this -> imageService -> processImage ( $ this -> originalAsset -> getResource ( ) , $ this -> adjustments -> toArray ( ) ) ; $ this -> resource = $ processedImageInfo [ 'resource' ] ; $ this -> width = $ processedImageInfo [ 'width' ] ; $ this -> height = $ processedImageInfo [ 'height' ] ; $ this -> persistenceManager -> whitelistObject ( $ this -> resource ) ; }
Tells the ImageService to render the resource of this ImageVariant according to the existing adjustments.

@return void
@throws InvalidConfigurationException
@throws Exception
@throws ImageFileException
Tells the ImageService to render the resource of this ImageVariant according to the existing adjustments .