[TYPO3-dev] GraphicsMagick Problems in current trunk - can someone confirm?
Steffen Müller
typo3 at t3node.com
Wed Apr 1 19:12:28 CEST 2009
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/
More information about the TYPO3-dev
mailing list