public static extern VP8StatusCode WebPDecode([In()] IntPtr data, UIntPtr data_size, ref WebPDecoderConfig config);
public static extern int WebPInitDecoderConfigInternal(ref WebPDecoderConfig param0, int param1);
public static extern IntPtr WebPIDecode([In()] IntPtr data, UIntPtr data_size, ref WebPDecoderConfig config);
/// <summary> /// Initialize the configuration as empty. This function must always be /// called first, unless WebPGetFeatures() is to be called. /// Returns false in case of mismatched version. /// </summary> /// <param name="config"></param> /// <returns></returns> public static int WebPInitDecoderConfig(ref WebPDecoderConfig config) { return(WebPInitDecoderConfigInternal(ref config, WEBP_DECODER_ABI_VERSION)); }