Project

General

Profile

Actions

Bug #17508

closed

image effects: grayscale in text w/image not working

Added by Hartmut Müller over 17 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2007-08-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

All image effects are working despite grayscaling images. The command line which TYPO3 tries to execute rusults in the failure message "Bogus input file" because of wrong parameter order.

TYPO3 Version: 4.1.2
ImageMagick: 6.2.4 07/09/07 Q16
OS: Ubuntu 6.06 LTS Server

The following, simple patch works for me. It does not need the command line parameters to be reordered in the TYPO3 sources. I simply switched from grayscaling the image to reducing the color saturation, which should do the same:

typo3_src-4.1.2/typo3/sysext/cms/tslib/class.tslib_content.php
305c305
< 10 => '-colorspace GRAY',
---

10 => '-modulate 90,0', // grayscale image

(issue imported from #M6106)


Files

bug_6106.diff (568 Bytes) bug_6106.diff Administrator Admin, 2007-12-09 23:45
Actions

Also available in: Atom PDF