【发布时间】:2016-03-22 05:36:22
【问题描述】:
我正在尝试将以下 ImageMagick 命令转换为 Magick++:
convert input-1.jpg input-2.jpg -compose blend -define compose:args="25,75" -composite result.jpg
我在使用 -define compose:args="25,75" 时遇到了困难,我在 Magick++ 中找不到它的等价物。没有compose:args=部分,Magick++代码如下:
Magick::Image input1, input2;
input1.read("input-1.jpg");
input2.read("input-2.jpg");
input1.composite(input2, 0,0, BlendCompositeOp);
谁能向我解释一下compose:args 部分,或者更好地告诉我它的Magick++ 等价物吗?
【问题讨论】:
标签: c++ image-processing imagemagick magick++