diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-24 18:55:13 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-24 18:55:13 +0000 |
commit | 915b972a818d0279eb926af38ba6952daa17a63e (patch) | |
tree | 5db6eeacea66b4738e77d7a9fc414750a9087810 /resources | |
parent | 1f64a21df960293a9d6a9b50c4575d0a9f0bffdc (diff) |
Reland "Properly set alpha type in webp decode."
Also use the newer setConfig function.
Add a test to confirm that we set the alpha type properly.
Add some images with alpha for testing. (These images are also
beneficial for the compare_unpremul test, which was previously
not meaningful on 100% opaque images.)
All of the added images are in the public domain. They were
taken from https://developers.google.com/speed/webp/gallery2:
yellow_rose:
"Free Stock Photo in High Resolution - Yellow Rose 3 - Flowers"
Image Author: Jon Sullivan
This file is in the public domain.
http://www.public-domain-photos.com/free-stock-photos-4/flowers/yellow-rose-3.jpg
baby_tux:
"baby tux for my user page"
Image Author: Fizyplankton
This file is in the public domain.
http://www.minecraftwiki.net/images/8/85/Fizyplankton.png
NOTRY=true
TBR=halcanary@google.com
BUG=skia:2388
Author: scroggo@google.com
Review URL: https://codereview.chromium.org/252423008
git-svn-id: http://skia.googlecode.com/svn/trunk@14360 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'resources')
-rw-r--r-- | resources/baby_tux.png | bin | 0 -> 29596 bytes |
-rw-r--r-- | resources/baby_tux.webp | bin | 0 -> 17128 bytes |
-rw-r--r-- | resources/half-transparent-white-pixel.png | bin | 0 -> 178 bytes |
-rw-r--r-- | resources/half-transparent-white-pixel.webp | bin | 0 -> 38 bytes |
-rw-r--r-- | resources/yellow_rose.png | bin | 0 -> 121363 bytes |
-rw-r--r-- | resources/yellow_rose.webp | bin | 0 -> 23404 bytes |
6 files changed, 0 insertions, 0 deletions
diff --git a/resources/baby_tux.png b/resources/baby_tux.png Binary files differnew file mode 100644 index 0000000000..dd082c4e2c --- /dev/null +++ b/resources/baby_tux.png diff --git a/resources/baby_tux.webp b/resources/baby_tux.webp Binary files differnew file mode 100644 index 0000000000..8764f066b9 --- /dev/null +++ b/resources/baby_tux.webp diff --git a/resources/half-transparent-white-pixel.png b/resources/half-transparent-white-pixel.png Binary files differnew file mode 100644 index 0000000000..03565d35c1 --- /dev/null +++ b/resources/half-transparent-white-pixel.png diff --git a/resources/half-transparent-white-pixel.webp b/resources/half-transparent-white-pixel.webp Binary files differnew file mode 100644 index 0000000000..b3a3307211 --- /dev/null +++ b/resources/half-transparent-white-pixel.webp diff --git a/resources/yellow_rose.png b/resources/yellow_rose.png Binary files differnew file mode 100644 index 0000000000..140c0b9c56 --- /dev/null +++ b/resources/yellow_rose.png diff --git a/resources/yellow_rose.webp b/resources/yellow_rose.webp Binary files differnew file mode 100644 index 0000000000..f7dc20839e --- /dev/null +++ b/resources/yellow_rose.webp |