How to change the filtering of the image in canvas?

There is an image. Draw it on canvas code:
context.drawImage(img0, 0, 0, 100, 100);
because the original image size is 16x16, it becomes wildly soap. Any ways the output on the pixels?
June 14th 19 at 20:22

Find more questions by tags HTMLJavaScript