Class WebP

java.lang.Object
com.luciad.imageio.webp.WebP

public final class WebP extends Object
  • Method Details

    • loadNativeLibrary

      public static boolean loadNativeLibrary()
    • decode

      public static int[] decode(WebPDecoderOptions aOptions, byte[] aData, int aOffset, int aLength, int[] aOut) throws IOException
      Throws:
      IOException
    • getInfo

      public static int[] getInfo(byte[] aData, int aOffset, int aLength) throws IOException
      Throws:
      IOException
    • encodeRGBA

      public static byte[] encodeRGBA(WebPEncoderOptions aOptions, byte[] aRgbaData, int aWidth, int aHeight, int aStride)
    • encodeRGB

      public static byte[] encodeRGB(WebPEncoderOptions aOptions, byte[] aRgbaData, int aWidth, int aHeight, int aStride)