How to resize image to fit on a small HTML5 canvas without loosing image quality?

前端 未结 0 1708
一向
一向 2021-01-30 18:35

This is my code. I want to be able to draw image on the canvas without loosing the quality of the image.

const canvas = document.getElementById("canvas"         


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