Hallo, auf einer Seite werden pngs mithilfe des gifbuilders erzeugt. Durch eine 
Maske wird das Bild als Raute zugeschnitten. Nach einem php update auf 5.4.25 
mit libPNG Version 1.6.9 bekomme ich Probleme.
Die Rauten werden nicht mehr erzeugt.
Die alte Einstellung [GFX][gdlib_png] = 1 war die Ursache, Test GDlib bricht 
mit der Meldung ab:
Detected Fatal Error
Call to undefined method 
TYPO3\CMS\Install\Database\DatabaseConnectionMock::isConnected() in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Error/ErrorHandler.php
 on line 174

Wenn ich [GFX][gdlib_png] = 0 einstelle geht der GDlib Test aber die Rauten 
werden nicht mehr richtig erzeugt. Transparente Bereiche sind nicht mehr 
transparent sondern weiß, bzw. verpixelt.

Hatte jemand ein solches Problem schon oder hat jemand eine Idee?

Falls es hilft im Protokoll kommen bei [GFX][gdlib_png] = 1 folgende Fehler:
Error handler (FE): PHP Warning: imagedestroy() expects parameter 1 to be 
resource, boolean given in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 416      
Error handler (FE): PHP Warning: imagesy() expects parameter 1 to be resource, 
boolean given in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 491   
Error handler (FE): PHP Warning: imagesx() expects parameter 1 to be resource, 
boolean given in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 490   
Error handler (FE): PHP Warning: imagecreatefrompng(): 
'/home/httpd/docs/homepage/fileadmin/_processed_/csm_csm_4_2356bcd75c2_d3615c547c.png'
 is not a valid PNG file in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 2878 
Error handler (FE): PHP Warning: imagecreatefrompng(): gd-png error: setjmp 
returns error condition in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 2878   
Error handler (FE): PHP Warning: imagecreatefrompng(): gd-png: fatal libpng 
error: IDAT: invalid distance too far back in 
/home/httpd/docs/_typo3src/typo3_src-6.2.12/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php
 line 2878

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an