Fixed bug #3232: Use image format set via .format for GIFBUILDER images
authorBernhard Kraft <kraftb@think-open.at>
Fri, 14 Apr 2006 10:16:04 +0000 (10:16 +0000)
committerBernhard Kraft <kraftb@think-open.at>
Fri, 14 Apr 2006 10:16:04 +0000 (10:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1433 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php

index d5f4876..fad83ac 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-14  Bernhard Kraft  <kraftb@kraftb.at>
+
+       * Fixed bug #3232: Use image format set via .format for GIFBUILDER images
+
 2006-04-13  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
        * Fix bugtracker issue 3172: re-write getMimeType in t3lib_htmlmail
index 55488c3..012b1c1 100755 (executable)
@@ -666,6 +666,12 @@ class tslib_gifBuilder extends t3lib_stdGraphic {
                        case 'jpeg':
                                return 'jpg';
                        break;
+                       case 'png':
+                               return 'png';
+                       break;
+                       case 'gif':
+                               return 'gif';
+                       break;
                        default:
                                return $this->gifExtension;
                        break;