Chromium Code Reviews
DescriptionUse SkJpegEncoder in WebKit platform
This also makes CanvasAsyncBlobCreator use SkPngEncoder, since it is
natural to land jpeg and png together here.
The motivations for using Skia encoders are:
***Support for embedding ICC profiles
***Support for linear unpremultiplication and blending
***Support for multiple color types (including F16)
***Support for multiple alpha types (possible follow-up optimization)
As a long term refactoring goal, we should be able to delete
the WebKit image encoders and the ui/gfx image encoders, thus
leaving one set of image encoders to maintain.
Incidentally, I think this CL is also a nice simplication for
CanvasAsyncBlobCreator.
BUG=713862
Review-Url: https://codereview.chromium.org/2878333004
Cr-Commit-Position: refs/heads/master@{#472781}
Committed: https://chromium.googlesource.com/chromium/src/+/86074971b9640dbf59869071b4a18bec51c61424
Patch Set 1 #
Total comments: 6
Patch Set 2 : Response to comments + jpeg quality adjustment #
Total comments: 1
Patch Set 3 : Use default jpeg quality when input is out of range #
Total comments: 10
Patch Set 4 : Create instead of Make #Messages
Total messages: 50 (42 generated)
|