[TYPO3-core] RFC: gifbuilder format

Bernhard Kraft kraftb at kraftb.at
Wed Apr 12 08:44:44 CEST 2006


Hello,


This is a CVS patch request.


BT reference:
http://bugs.typo3.org/view.php?id=3232


Description:
Currently the ".format =" option of a GIFBUILDER object will only allow to explicitly define
jpg as output format. Else always the $this->gifExtension will get used which is set to "gif"
in the case of gdlib_png=0 and "png" when gdlib_png=1.

So it is not possible to explicitly overrule the default-format for a single GB object.


Solution:
Just add "png" and "gif" parts to the switch of method "extension" in tslib_gifbuilder.php


Attached Files:
gifbuilder_format_2006-04-12.diff



greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gifbuilder_format_2006-04-12.diff
Type: text/x-patch
Size: 587 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060412/0904177c/attachment.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/20060412/0904177c/attachment.pgp 


More information about the TYPO3-team-core mailing list