[TYPO3-core] RFC: #14813: Install Tool uses deprecated function t3lib_stdGraphic->imagecreate()
Stefan Galinski
sgalinski at df.eu
Thu Jul 8 14:31:30 CEST 2010
This is an SVN patch request.
Type: Code Cleanup
Bugtracker references:
http://bugs.typo3.org/view.php?id=14813
Branches:
TYPO3_4-4, trunk
Problem:
The function t3lib_stdGraphics->imagecreate was deprecated in TYPO3 4.4.
Unfortunatly there are still some occurences in the core.
Solution:
Replace the existing occurences with imagecreatetruecolor like it's
suggested by the deprecated function itself. IMHO this is a no-brainer...
Note:
There are some further deprecated method calls to t3lib_stdGraphics-
>reduceColors if you don't enable png_truecolor. Unfortunatly I didn't found
a reliable way to remove them without breaking backwards compatibility.
Maybe someone else with more knowledge about this stuff, can fix them later
on.
--
Stefan Galinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typo3_14813_v1.diff
Type: text/x-patch
Size: 1591 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100708/bb82174b/attachment.bin>
More information about the TYPO3-team-core
mailing list