Typo3:ImageMagick组合不起作用
I'm looking to use image masks in Typo3. After trying out various things and none of them worked, I decided to check out the install tool.
Install tool says ImageMagick is installed correctly, paths are correct and all image test complete successfully, except the convert/combine test. The test says "There was no result from the ImageMagick operation".
Also, when I'm using gifbuilder to output an image the image's dimensions get read correctly, allthough the outputted image stays blank. (which is white or another color when I have backColor set)
I am using:
- Max OSX 10.7.5
- XAMPP
- PHP 5.3.1
- Typo3 6.0.4
- ImageMagic 6.7.3-2
Here is some test typoscript code (which on my install results in a fully red image instead of the original image)
lib.test = IMAGE
lib.test {
file = GIFBUILDER
file {
XY = [10.w],[10.h]
backColor = #FF0000
10 = IMAGE
10.file = fileadmin/user_upload/test.jpg
}
}
Attached is the result from the combining images test
.
Does anyone have an idea as to what I might be doing wrong?
我希望在Typo3中使用图像蒙版。 在尝试了各种各样的事情并且没有一个工作之后,我决定查看安装工具。 p>
安装工具说ImageMagick安装正确,路径正确并且所有图像测试成功完成,转换/合并测试除外 strong>。 测试说“没有ImageMagick操作的结果”。 p>
另外,当我使用gifbuilder输出图像时,图像的尺寸可以正确读取,尽管输出的图像仍然是空白 。 (当我设置backColor时,它是白色或其他颜色) p>
我正在使用: p>
- Max OSX 10.7.5
- XAMPP li>
- PHP 5.3.1 li>
- Typo3 6.0.4 li>
- ImageMagic 6.7.3-2 li>
ul>
以下是一些测试打印错误代码(在我的安装中导致完全红色的图像而不是原始图像) p>
lib.test = IMAGE lib.test { file = GIFBUILDER file { XY = [10.w],[10.h] backColor =#FF0000 10 = IMAGE 10.file = fileadmin / user_upload / test.jpg } } code> pre>
附加的是
nn合并图像测试的结果.
p> \ n
有没有人知道我可能做错了什么? strong> p> div>
Some newer imagemagick versions use composite
as command instead of combine
. There is an option in the install tool to set the command to use. The setting is called [GFX][im_combine_filename]
.