Set image smoothing before drawing a scaled canvas image
Set ctx.imageSmoothingEnabled before you call drawImage(). To compare a different setting, draw the image again; the assignment does not change pixels already drawn. The default is true. For a pixel-a