915b972a81
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 |
||
---|---|---|
.. | ||
encoding | ||
arrow.png | ||
baby_tux.png | ||
baby_tux.webp | ||
CMYK.jpg | ||
Funkster.ttf | ||
half-transparent-white-pixel.png | ||
half-transparent-white-pixel.webp | ||
mandrill_16.png | ||
mandrill_32.png | ||
mandrill_64.png | ||
mandrill_128.png | ||
mandrill_256.png | ||
mandrill_512.png | ||
plane.png | ||
test.ttc | ||
yellow_rose.png | ||
yellow_rose.webp |