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:
Graphical
Functions->gdlib Extensions Graphical
Functions->image File Ext Graphical
Functions->web Image Ext Graphical
Functions->NO_ IM_ EFFECTS Graphical
Functions->NO_ IMAGE_ MAGICK Graphical
Functions->may Scale Up Graphical
Functions->dont Compress Graphical
Functions->dont Unlink Temp Files Graphical
Functions->abs Prefix Graphical
Functions->im5fx_ blur Steps Graphical
Functions->im5fx_ sharpen Steps Graphical
Functions->pixel Limit Gif Graphical
Functions->col Map Graphical
Functions->cs Conv Obj Graphical
Functions->jpeg Quality Graphical
Functions->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.