[TYPO3-core] Bugfix #760 GIFBUILDER 256 colors

Bernhard Kraft kraftb at kraftb.at
Wed Feb 15 17:04:51 CET 2006


Michael Stucki wrote:

> +1
> 
> Michael


As I discussed it with you.

Here is the hopefully last version which should now get into CVS...

I attached a -w Version of the diff to ease reading again like I did in my first patch.

Especially note the new line:

+     if (count($colArr)>1) {

Because if there is just one color which should be transparent we don't have to do this whole
unifyColors stuff ... just return the image again.

I tested it also with graphics magick and there are no problems.


Michael asked me if we could remove the "im_mask_temp_ext_noloss" install tool variable, Answer:
Currently not as it is still used in many places in tslib_content.
(Altough it's use in t3lib_stdgraphic got reduced)



greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GIFBUILDER_2006_02-15.diff
Type: text/x-patch
Size: 6231 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060215/00924ab0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GIFBUILDER_2006_02-15_w.diff
Type: text/x-patch
Size: 9161 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060215/00924ab0/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060215/00924ab0/attachment.pgp 


More information about the TYPO3-team-core mailing list