Javascript – Which Algorithm Does Chrome/Firefox Use in context.drawImage()?
The specs say: When scaling up, if the imageSmoothingEnabled attribute is set to false, then the image must be rendered using nearest-neighbor interpolation. So when imageSmoothingEnabled is false and the process is scaling up, it uses nearest-neighbor which is what…