For images there’s now context.imageSmoothingEnabled
= false
.
However, there’s nothing that explicitly controls line drawing. You may need to draw your own lines (the hard way) using getImageData
and putImageData
.
More Related Contents:
- How to clear the canvas for redrawing
- HTML5 Canvas Resize (Downscale) Image High Quality?
- Resize image with javascript canvas (smoothly)
- Disable Interpolation when Scaling a
- How to draw an inline svg (in DOM) to a canvas?
- How to draw an oval in html5 canvas?
- Convert SVG to PNG with applied images as background to svg elements
- Best way to detect that HTML5 is not supported
- Getting mouse location in canvas [duplicate]
- JavaScript: Extract video frames reliably
- Capture frames from video with HTML5 and JavaScript
- JavaScript: getting ImageData without canvas
- jQuery equivalent of getting the context of a Canvas
- Load image from url and draw to HTML5 Canvas
- HTML Canvas: How to draw a flipped/mirrored image?
- make canvas as wide and as high as parent
- How to fill the whole canvas with specific color?
- HTML5 responsive canvas: resizing the browser canvas draw disappear
- HTML canvas – drawing disappear on resizing
- Is there a way to curve / arc text using CSS3 / Canvas
- dotted stroke in
- How to scale an imageData in HTML canvas?
- Canvas text rendering (blurry)
- How to detect shape on a transparent canvas?
- Scaling an image to fit on canvas
- Creating a Clickable Grid in a Web Browser
- Save many canvas element as image
- how to animate drawing lines on canvas
- How to style canvas elements with CSS
- canvas- Cropping images in different shapes