douguio0185 2013-03-26 16:14
浏览 31
已采纳

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.

enter image description here

Does anyone have an idea as to what I might be doing wrong?

  • 写回答

1条回答 默认 最新

  • dongsang6899 2013-03-26 19:12
    关注

    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].

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)
  • ¥15 机器人轨迹规划相关问题
  • ¥15 word样式右侧翻页键消失