Revert "add WebPBlendAlpha() function to blend colors against background"

This reverts commit dcbb1ca54a.

Dropping this for now to maintain compatibility for 0.3.1.

Change-Id: I44e032a072d317bb67e1439c42cff923e603038f
This commit is contained in:
James Zern
2013-06-12 14:43:27 -07:00
parent 38cc011408
commit 67bc353e6d
8 changed files with 6 additions and 121 deletions

View File

@ -100,7 +100,6 @@ int ReadTIFF(const char* const filename,
#ifdef __BIG_ENDIAN__
TIFFSwabArrayOfLong(raster, width * height);
#endif
pic->use_argb = 1;
ok = keep_alpha
? WebPPictureImportRGBA(pic, (const uint8_t*)raster, stride)
: WebPPictureImportRGBX(pic, (const uint8_t*)raster, stride);