How to create an image on the fly with Node.js?

后端 未结 2 846
北海茫月
北海茫月 2020-12-14 02:27

I\'m using Node.js and Express web framework, I need to create an on-the-fly image .png or .jpg (like captcha), then I have to send that im

2条回答
  •  悲&欢浪女
    2020-12-14 03:13

    Maybe you could use canvas? There is also an implementation in node.js by Learnboost(TJ). I think this screencast is interesting to look at. As you see from presentation it even renders text in some examples. Also in the npm registry / node modules section I found a lot more interesting links

提交回复
热议问题