Breaking: #82768 - Configuration Options for Image Manipulation PHP API
See forge#82768
Description
The main PHP class
Graphical for rendering images based on ImageMagick/GraphicsMagick
and/or GDlib has been cleaned up in order to optimize various places within the code itself,
making more use of the proper "init()" function setting all relevant options.
The following previously public properties are therefore either set to "protected"
or removed/renamed as part of the streaming process, removing the possibility to
override any of the settings other than via the
init method within
GraphicalFunctions:
GraphicalFunctions->gdlib Extensions GraphicalFunctions->image File Ext GraphicalFunctions->web Image Ext GraphicalFunctions->NO_ IM_ EFFECTS GraphicalFunctions->NO_ IMAGE_ MAGICK GraphicalFunctions->may Scale Up GraphicalFunctions->dont Compress GraphicalFunctions->dont Unlink Temp Files GraphicalFunctions->abs Prefix GraphicalFunctions->im5fx_ blur Steps GraphicalFunctions->im5fx_ sharpen Steps GraphicalFunctions->pixel Limit Gif GraphicalFunctions->col Map GraphicalFunctions->cs Conv Obj GraphicalFunctions->jpeg Quality GraphicalFunctions->OFFSET
Additionally, the option to disable the deletion of tempFiles have been removed.
The global configuration option
$TYPO3_
is a boolean option now.
Impact
Setting any of the PHP properties above will have no effect anymore.
Affected Installations
Any TYPO3 installation with an extension accessing directly GraphicalFunctions or GifBuilder API via PHP and using any of the properties above.
Migration
Ensure all options are properly set when calling
Graphical and remove
all calls to get or set values from the previously public properties.