is it possible to fil gaps of the image that has angle? _ Sharp Nodejs

前端 未结 0 1998
攒了一身酷
攒了一身酷 2021-01-12 03:43

I have this image that I want to give it background-color . is it possible to fil gaps with white color?

sharp(\'2.png\')
  .rotate(-40)
  .resize(300         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题