[TYPO3-core] RFC: #15184 Generation transparent images with GMENU fails

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Nov 9 14:48:02 CET 2010


Hi guys,

I tested with PHP 5.2.0, gdlib2 and GM 1.1.7 and IM 6.2.4 and found out
that the only situation where the issue appears in that test-scenario is
on this combination:

1) niceText=1
2) $TYPO3_CONF_VARS['GFX']['gdlib_png'] = '0';

The patch solves the problems with the GM1 and also IM6. So my +1 by
reading and testing.

Since it doesn't appear to have a negative side-effect on other trials
done by the testing folk, I committed this to:

- trunk rev 9316 (4.5.0 beta1)
- TYPO3_4-4 rev 9317 (4.4.5)

Cheers,
Ernesto

Helmut Hummel schrieb am 09.11.2010 14:21:
> On 09.11.10 13:17, Mathias Schreiber [wmdb >] wrote:
>>
>> My current tests are:
>> v4.4.4 plain
>> gm 1.1.11 (maybe fuckup is here somewhere?)
>> gm LZW path is empty (or here?)
> 
> php 5.2.13
> gdlib 2.0.34
> freetype 2.3.9
> gm 1.3.12
> 
>> Following tests performed:
>> a) gdlib_png = 1 && not patched
>> Transparent PNG generated (artifact border kinda weird, but hey.. it's 
>> transparent)
>> http://www.wmdb.de/fileadmin/t3core/test_a.png
>>
>> b) gdlib_png = 1 && patched
>> Transparent PNG generated (artifact border kinda weird, but hey.. it's 
>> transparent)
>> http://www.wmdb.de/fileadmin/t3core/test_b.png
>>
>> c) gdlib_png = 0 && not patched
>> Transparency fails (that's the bug I'm refering to)
>> http://www.wmdb.de/fileadmin/t3core/test_c.gif
>>
>> d) gdlib_png = 0 && patched
>> Transparent GIF created, artifact borders look WAY better than on PNG
>> http://www.wmdb.de/fileadmin/t3core/test_d.gif
> 
> With or without patch, with or without gdlib_png, transparency works
> here with the given TS.
> 
> imagecolorexact() and imagecolorclosest() are returning the same value:
> int(16711935)
> 
> Regards Helmut



More information about the TYPO3-team-core mailing list