public final class WebP extends Object
| Modifier and Type | Method and Description |
|---|---|
static int[] |
decode(WebPDecoderOptions aOptions,
byte[] aData,
int aOffset,
int aLength,
int[] aOut) |
static byte[] |
encodeRGB(WebPEncoderOptions aOptions,
byte[] aRgbaData,
int aWidth,
int aHeight,
int aStride) |
static byte[] |
encodeRGBA(WebPEncoderOptions aOptions,
byte[] aRgbaData,
int aWidth,
int aHeight,
int aStride) |
static int[] |
getInfo(byte[] aData,
int aOffset,
int aLength) |
static boolean |
loadNativeLibrary() |
public static boolean loadNativeLibrary()
public static int[] decode(WebPDecoderOptions aOptions, byte[] aData, int aOffset, int aLength, int[] aOut) throws IOException
IOExceptionpublic static int[] getInfo(byte[] aData,
int aOffset,
int aLength)
throws IOException
IOExceptionpublic static byte[] encodeRGBA(WebPEncoderOptions aOptions, byte[] aRgbaData, int aWidth, int aHeight, int aStride)
public static byte[] encodeRGB(WebPEncoderOptions aOptions, byte[] aRgbaData, int aWidth, int aHeight, int aStride)
Copyright © 2021 sejda.com. All rights reserved.