TYPO3
7.6
|
Public Member Functions | |
__construct (LocalImageProcessor $processor) | |
Protected Member Functions | |
getNewSvgDimensions ($file, array $configuration, array $options, GifBuilder $gifBuilder) | |
getConfigurationForImageCropScaleMask (Resource\ProcessedFile $processedFile,\TYPO3\CMS\Frontend\Imaging\GifBuilder $gifBuilder) | |
getFilenameForImageCropScaleMask (TaskInterface $task) | |
modifyImageMagickStripProfileParameters ($parameters, array $configuration) | |
Protected Attributes | |
$processor | |
Helper class to locally perform a crop/scale/mask task with the TYPO3 image processing classes.
Definition at line 24 of file LocalCropScaleMaskHelper.php.
__construct | ( | LocalImageProcessor | $processor | ) |
LocalImageProcessor | $processor |
Definition at line 34 of file LocalCropScaleMaskHelper.php.
References LocalCropScaleMaskHelper\$processor.
|
protected |
Resource\ProcessedFile | $processedFile | |
\TYPO3\CMS\Frontend\Imaging\GifBuilder | $gifBuilder |
Definition at line 267 of file LocalCropScaleMaskHelper.php.
|
protected |
Returns the filename for a cropped/scaled/masked file.
TaskInterface | $task |
Definition at line 299 of file LocalCropScaleMaskHelper.php.
References $GLOBALS, elseif, TaskInterface\getSourceFile(), and TaskInterface\getTargetFile().
|
protected |
Calculate new dimensions for SVG image No cropping, if cropped info present image is scaled down
Resource\FileInterface | $file | |
array | $configuration | |
array | $options | |
GifBuilder | $gifBuilder |
Definition at line 233 of file LocalCropScaleMaskHelper.php.
References GraphicalFunctions\getImageScale().
|
protected |
Modifies the parameters for ImageMagick for stripping of profile information.
string | $parameters | The parameters to be modified (if required) |
array | $configuration | The TypoScript configuration of [IMAGE].file |
Definition at line 320 of file LocalCropScaleMaskHelper.php.
References $GLOBALS.
|
protected |
Definition at line 29 of file LocalCropScaleMaskHelper.php.
Referenced by LocalCropScaleMaskHelper\__construct().