Issue Bug Closed

#17508image effects: grayscale in text w/image not working

Hartmut Müller 08/08/07, 17:11 updated 12/25/10, 09:58

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.