Trying to compress img via canvas.toDataURL

后端 未结 0 479
囚心锁ツ
囚心锁ツ 2021-01-31 07:32

I\'m trying to work out img/canvas scaling but it\'s not working. I\'ve got an image, and I want to compress it, so I\'m using canvas to do this using the following code:

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