Jump to content

Scale entire canvas without smoothing


beeglebug
 Share

Recommended Posts

Try the following:

canvas.getContext('2d').webkitImageSmoothingEnabled = false;canvas.getContext('2d').oImageSmoothingEnabled = false;canvas.getContext('2d').mozImageSmoothingEnabled = false;canvas.getContext('2d').imageSmoothingEnabled = false;
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...