TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper Class Reference

Public Member Functions

 __construct (LocalImageProcessor $processor)
 

Protected Member Functions

 getConfigurationForImageCropScaleMask (Resource\ProcessedFile $processedFile, \TYPO3\CMS\Frontend\Imaging\GifBuilder $gifBuilder)
 
 getFilenameForImageCropScaleMask (TaskInterface $task)
 
 modifyImageMagickStripProfileParameters ($parameters, array $configuration)
 

Protected Attributes

 $processor
 

Detailed Description

Helper class to locally perform a crop/scale/mask task with the TYPO3 image processing classes.

Definition at line 22 of file LocalCropScaleMaskHelper.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getConfigurationForImageCropScaleMask()

TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper::getConfigurationForImageCropScaleMask ( Resource\ProcessedFile  $processedFile,
\TYPO3\CMS\Frontend\Imaging\GifBuilder  $gifBuilder 
)
protected
Parameters
Resource\ProcessedFile$processedFile
\TYPO3\CMS\Frontend\Imaging\GifBuilder$gifBuilder
Returns
array

Definition at line 169 of file LocalCropScaleMaskHelper.php.

Referenced by TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper\__construct().

◆ getFilenameForImageCropScaleMask()

TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper::getFilenameForImageCropScaleMask ( TaskInterface  $task)
protected

◆ modifyImageMagickStripProfileParameters()

TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper::modifyImageMagickStripProfileParameters (   $parameters,
array  $configuration 
)
protected

Modifies the parameters for ImageMagick for stripping of profile information.

Parameters
string$parametersThe parameters to be modified (if required)
array$configurationThe TypoScript configuration of [IMAGE].file
Returns
string

Definition at line 221 of file LocalCropScaleMaskHelper.php.

References $GLOBALS, and $parameters.

Referenced by TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper\__construct().

Member Data Documentation

◆ $processor

TYPO3\CMS\Core\Resource\Processing\LocalCropScaleMaskHelper::$processor
protected