【问题标题】:PHP imagick equivalent of -define png:color-type=6PHP imagick 相当于 -define png:color-type=6
【发布时间】:2016-07-24 20:53:06
【问题描述】:

我需要用不同的颜色类型保存我的 PNG 文件,以便 ffmpeg 可以正确处理它们。我正在使用用于 imagemagick 的 PHP 库,我正在尝试弄清楚如何在 imagick PHP 中实现以下(命令行):

-define png:color-type=6

【问题讨论】:

    标签: ffmpeg imagemagick png imagick


    【解决方案1】:

    找到了……

    $imagick->setOption('png:color-type', 6);

    【讨论】:

      猜你喜欢
      • 2020-04-30
      • 2013-08-28
      • 2010-12-28
      • 2011-09-11
      • 2011-12-06
      • 2014-05-25
      • 1970-01-01
      • 2019-05-28
      • 2011-08-21
      相关资源
      最近更新 更多