mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
rename 'use_argb_input' to 'use_argb'
long name, and there's not really an 'output' equivalent Change-Id: I9133ff734ae8d6572cb2f607211361f011fc0bc1
This commit is contained in:
committed by
James Zern
parent
90516ae8f5
commit
dd1081763c
@ -62,7 +62,7 @@ static int EncodeLossless(const uint8_t* data, int width, int height,
|
||||
WebPPictureInit(&picture);
|
||||
picture.width = width;
|
||||
picture.height = height;
|
||||
picture.use_argb_input = 1;
|
||||
picture.use_argb = 1;
|
||||
if (!WebPPictureAlloc(&picture)) return 0;
|
||||
|
||||
// Transfer the alpha values to the green channel.
|
||||
|
Reference in New Issue
Block a user