Open Bug 1228847 Opened 5 years ago Updated 2 years ago

Implement Canvas2D imageSmoothingQuality property

Categories

(Core :: Canvas: 2D, defect, P3)

defect

Tracking

()

People

(Reporter: fs, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, parity-chrome, parity-safari, Whiteboard: [DocArea=Canvas] [gfx-noted])

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.)
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.