在nodejs中加入2图像[关闭]

问题描述 投票:0回答:2

我可以将2张图片加入1中,如:

enter image description here

是否支持nodejs lib?

非常感谢!

node.js image-processing
2个回答
1
投票

你可以使用merge-images。我从未使用它,所以我不确定。


1
投票

你可能需要这个:https://github.com/zhangyuanwei/node-images

Nodejs的跨平台图像解码器(png / jpeg / gif)和编码器(png / jpeg)

images("big.jpg").draw(images("small.jpg"), 10, 10).save("output.jpg");
© www.soinside.com 2019 - 2024. All rights reserved.