FollowUp #10025: ImageMagick generates larger than necessary files: identify doesn...
authorSteffen Kamper <info@sk-typo3.de>
Wed, 1 Apr 2009 17:19:38 +0000 (17:19 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 1 Apr 2009 17:19:38 +0000 (17:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5254 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 5d64f01..a043bf5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-01  Steffen Kamper  <info@sk-typo3.de>
+
+       * FollowUp #10025: ImageMagick generates larger than necessary files: identify doesn't work with the 'profile'-parameter
+
 2009-03-31  Benjamin Mack  <benni@typo3.org>
 
        * Fixed bug #10567: Added IE8+ support / Get rid of browser version dependent t3lib_div::clientInfo() (Thanks to Steffen Gebert)
index ac5ec6d..27648c1 100644 (file)
@@ -5381,7 +5381,7 @@ final class t3lib_div {
                }
 
                        // strip profile information for thumbnails and reduce their size
-               if ($gfxConf['im_useStripProfileByDefault'] && $gfxConf['im_stripProfileCommand'] != '') {
+               if ($command != 'identify' && $gfxConf['im_useStripProfileByDefault'] && $gfxConf['im_stripProfileCommand'] != '') {
                        if (strpos($parameters, $gfxConf['im_stripProfileCommand']) === false) {
                                        // Determine whether the strip profile action has be disabled by TypoScript:
                                if ($parameters !== '' && $parameters !== '-version' && strpos($parameters, '###SkipStripProfile###') === false) {