‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset Class Reference
Inheritance diagram for TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset:
TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset TYPO3\CMS\Install\Configuration\AbstractPreset TYPO3\CMS\Install\Configuration\PresetInterface

Protected Member Functions

mixed findExecutableInPath (array $searchPaths)
 
bool findImageMagick6InPaths (array $searchPaths)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset
array getSearchPaths ()
 
string cleanUpPath ($path)
 

Protected Attributes

string $name = 'ImageMagick6'
 
int $priority = 70
 
array $configurationValues
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset
array $defaultExecutableSearchPaths
 
string $foundPath = ''
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Install\Configuration\AbstractPreset
TYPO3 CMS Core Configuration ConfigurationManager $configurationManager
 
string $name = ''
 
int $priority = 50
 
array $configurationValues = array( )
 
array $readonlyConfigurationValues = array( )
 
array $postValues = array( )
 

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset
string getFoundPath ()
 
bool isActive ()
 
bool isAvailable ()
 
array getConfigurationValues ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Install\Configuration\AbstractPreset
 __construct (?ConfigurationManager $configurationManager=null)
 
mixed setPostValues (array $postValues)
 
bool getIsAvailable ()
 
bool getIsActive ()
 
string getName ()
 
int getPriority ()
 

Detailed Description

Preset for ImageMagick version 6 or higher

only to be used within EXT:install

Definition at line 25 of file ImageMagick6Preset.php.

Member Function Documentation

◆ findExecutableInPath()

mixed TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset::findExecutableInPath ( array  $searchPaths)
protected

Find executable in path, wrapper for specific ImageMagick/GraphicsMagick find methods.

Returns
‪mixed

Reimplemented from TYPO3\CMS\Install\Configuration\Image\AbstractImagePreset.

Definition at line 50 of file ImageMagick6Preset.php.

References TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset\findImageMagick6InPaths().

◆ findImageMagick6InPaths()

bool TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset::findImageMagick6InPaths ( array  $searchPaths)
protected

Search for GraphicsMagick executables in given paths.

Parameters
array$searchPaths‪List of paths to search for
Returns
‪bool TRUE if graphics magick was found in path

Definition at line 61 of file ImageMagick6Preset.php.

References TYPO3\CMS\Core\Utility\CommandUtility\exec(), and TYPO3\CMS\Core\Core\Environment\isWindows().

Referenced by TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset\findExecutableInPath().

Member Data Documentation

◆ $configurationValues

array TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset::$configurationValues
protected
Initial value:
= array(
'GFX/processor_enabled' => true,
'GFX/processor_path' => '',
'GFX/processor' => 'ImageMagick',
'GFX/processor_effects' => true,
)

Configuration values handled by this preset

Definition at line 37 of file ImageMagick6Preset.php.

◆ $name

string TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset::$name = 'ImageMagick6'
protected

Name of preset

Definition at line 29 of file ImageMagick6Preset.php.

◆ $priority

int TYPO3\CMS\Install\Configuration\Image\ImageMagick6Preset::$priority = 70
protected

Priority of preset

Definition at line 33 of file ImageMagick6Preset.php.