TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor:
TYPO3\CMS\Core\Resource\Processing\ProcessorInterface

Public Member Functions

 canProcessTask (TaskInterface $task)
 
 processTask (TaskInterface $task)
 
 getTemporaryImageWithText ($filename, $textline1, $textline2, $textline3)
 

Protected Member Functions

 checkForExistingTargetFile (TaskInterface $task)
 
 getHelperByTaskName ($taskName)
 
 getGraphicalFunctionsObject ()
 

Protected Attributes

 $logger
 

Detailed Description

Processes Local Images files

Definition at line 22 of file LocalImageProcessor.php.

Member Function Documentation

◆ canProcessTask()

TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor::canProcessTask ( TaskInterface  $task)

◆ checkForExistingTargetFile()

◆ getGraphicalFunctionsObject()

◆ getHelperByTaskName()

TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor::getHelperByTaskName (   $taskName)
protected
Parameters
string$taskName
Returns
LocalCropScaleMaskHelper|LocalPreviewHelper
Exceptions

Definition at line 141 of file LocalImageProcessor.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Referenced by TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor\processTask().

◆ getTemporaryImageWithText()

TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor::getTemporaryImageWithText (   $filename,
  $textline1,
  $textline2,
  $textline3 
)

Creates error image based on gfx/notfound_thumb.png Requires GD lib enabled, otherwise it will exit with the three textstrings outputted as text. Outputs the image stream to browser and exits!

Parameters
string$filenameName of the file
string$textline1Text line 1
string$textline2Text line 2
string$textline3Text line 3
Returns
void
Exceptions

Definition at line 171 of file LocalImageProcessor.php.

References TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor\getGraphicalFunctionsObject(), and TYPO3\CMS\Core\Utility\GeneralUtility\logDeprecatedFunction().

◆ processTask()

Member Data Documentation

◆ $logger

TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor::$logger
protected

Definition at line 27 of file LocalImageProcessor.php.