我正在使用ImageMagick将一幅图像与另一幅图像进行叠加,并希望使用混合选项。我希望将叠加的图像不透明度调整为约60%。我只想调整前景图像,而不是合并组。我目前有以下代码:
exec("convert $img_in test_images/test_opacity.jpg -compose screen -composite $img_out");
我想要类似于这样的东西:
exec("convert $img_in (test_images/test_opacity.jpg -opacity 0.6) -compose screen -composite $img_out");
非常感谢您的帮助。
这里涉及到IT技术相关内容。