mirror of
https://github.com/servo/servo.git
synced 2025-07-02 13:03:43 +01:00
Follow the ImageBitmap specification and make cropping of the bitmap data to the source rectangle with formatting: https://html.spec.whatwg.org/multipage/#cropped-to-the-source-rectangle-with-formatting For now the next functionality not implemented: - image orientation support (such as EXIF metadata) - color space conversion (image, blob) The convertion from ResizeQuality to "image" FilterType: - pixelated/low/medium/high -> Nearest/Triangle/CatmullRom/Lanczos3 Other browsers use the following sample filtering: - chromium (skia): Nearest/Linear/Linear/CatmullRom - firefox (skia): Lanczos3 Testing: Improvements in the following WPT tests - html/canvas/element/manual/imagebitmap/* Fixes (partially): #34112 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com> |
||
---|---|---|
.. | ||
background_hang_monitor | ||
base | ||
bluetooth | ||
canvas | ||
compositing | ||
constellation | ||
devtools | ||
embedder | ||
fonts | ||
net | ||
profile | ||
script | ||
script_layout | ||
snapshot | ||
webgpu | ||
webxr |