Implement Canvas2D imageSmoothingQuality property

NEW
Unassigned

Status

()

P3
normal
3 years ago
7 months ago

People

(Reporter: fscholz, Unassigned)

Tracking

(Blocks: 1 bug, {dev-doc-needed, parity-chrome, parity-safari})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [DocArea=Canvas] [gfx-noted], URL)

(Reporter)

Description

3 years ago
There is a new Canvas2D imageSmoothingQuality property in the HTML Living standard.

> attribute ImageSmoothingQuality imageSmoothingQuality; // (default low)
Can be set, to change the preferred quality of image smoothing. Unknown values are ignored.

> enum ImageSmoothingQuality { "low", "medium", "high" };
The ImageSmoothingQuality enumeration is used to express a preference for the interpolation quality to use when smoothing images.

The "low" value indicates a preference for a low level of image interpolation quality. Low-quality image interpolation may be more computationally efficient than higher settings.

The "medium" value indicates a preference for a medium level of image interpolation quality.

The "high" value indicates a preference for a high level of image interpolation quality. High-quality image interpolation may be more computationally expensive than lower settings.

> Links:
PR https://github.com/whatwg/html/pull/136
Spec https://html.spec.whatwg.org/multipage/scripting.html#image-smoothing
WebKit https://bugs.webkit.org/show_bug.cgi?id=149541
Blink https://code.google.com/p/chromium/issues/detail?id=540761
Whiteboard: [parity-blink][parity-webkit][DocArea=Canvas] → [parity-blink][parity-webkit][DocArea=Canvas] [gfx-noted]
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome, parity-safari
Whiteboard: [parity-blink][parity-webkit][DocArea=Canvas] [gfx-noted] → [DocArea=Canvas] [gfx-noted]
You need to log in before you can comment on or make changes to this bug.