diff options
author | Matt Sarett <msarett@google.com> | 2017-05-09 12:46:50 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-09 18:32:04 +0000 |
commit | 2e61b182dad86e592d12c8a73ffcc7555a6e11a2 (patch) | |
tree | 323281b163e71f8058eab694c9562a2c1b007b67 /resources | |
parent | ee2d9df087c5225c9f3ba0fb98d237905f2d650c (diff) |
Add jpeg encoder alpha handling option
This instructs us on how to encode jpegs when the src
image has alpha. The original behavior is to ignore
the alpha channel. This CL adds the option to blend
the pixels onto opaque black.
Note that kBlendOnBlack and kIgnore are identical
unless the input alpha type is kUnpremul.
Bug: 713862
Bug: skia:1501
Change-Id: I4891c70bb0ccd83f7974c359bd40a2143b5c49ac
Reviewed-on: https://skia-review.googlesource.com/15817
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/rainbow-gradient.png | bin | 0 -> 2592 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/resources/rainbow-gradient.png b/resources/rainbow-gradient.png Binary files differnew file mode 100644 index 0000000000..4e18a32716 --- /dev/null +++ b/resources/rainbow-gradient.png |