[webkit-changes] [WebKit/WebKit] 3febd4: ImageBitmap resize quality "low" is resolved to in...
Kimmo Kinnunen
noreply at github.com
Fri Sep 29 10:41:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3febd45283e31b09b8a63c9739535f7109713eb2
https://github.com/WebKit/WebKit/commit/3febd45283e31b09b8a63c9739535f7109713eb2
Author: Kimmo Kinnunen <kkinnunen at apple.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M Source/WebCore/html/ImageBitmap.cpp
Log Message:
-----------
ImageBitmap resize quality "low" is resolved to incorrect implementation value
https://bugs.webkit.org/show_bug.cgi?id=262361
rdar://116228900
Reviewed by Mike Wyrzykowski.
Passing InterpolationQuality::Default as ImagePaintingOptions means
"use context default", e.g. the same as if no option would be passed.
The context default is typically "Default" which means "Use image
should interpolate ? High : None" for Cocoa, "Medium" in Cairo.
Use Low if the author asks for Low.
* Source/WebCore/html/ImageBitmap.cpp:
(WebCore::interpolationQualityForResizeQuality):
Canonical link: https://commits.webkit.org/268658@main
More information about the webkit-changes
mailing list