參考博客: https://blog.csdn.net/wengye1990/article/details/71120743?locationNum=9&fps=1
github地址: https://github.com/Automattic/node-canvas
mac 依賴安裝 :
brew install pkg-config cairo libpng jpeg giflib
npm install canvas --save
參考博客: https://blog.csdn.net/wengye1990/article/details/71120743?locationNum=9&fps=1
github地址: https://github.com/Automattic/node-canvas
mac 依賴安裝 :
brew install pkg-config cairo libpng jpeg giflib
npm install canvas --save