[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-dev] GraphicsMagick Problems in current trunk - can someone confirm?



Hi.

On 01.04.2009 19:03 Steffen Kamper wrote:
> but you are correct with "identify"
> 
> I will commit a follow-up
> 
> vg Steffen

I have patched t3lib_div::imageMagickCommand() to avoid profile
stripping for identify. This fixes the issue for me:


Index: t3lib/class.t3lib_div.php
===================================================================
--- t3lib/class.t3lib_div.php   (revision 5253)
+++ t3lib/class.t3lib_div.php   (working copy)
@@ -5381,7 +5381,7 @@
                }

                        // strip profile information for thumbnails and reduce 
their size
-               if ($gfxConf['im_useStripProfileByDefault'] &&
$gfxConf['im_stripProfileCommand'] != '') {
+               if ($gfxConf['im_useStripProfileByDefault'] &&
$gfxConf['im_stripProfileCommand'] != '' && $command != 'identify') {
                        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) {

-- 
cheers,
Steffen

http://www.t3node.com/
_______________________________________________
TYPO3-dev mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev