Example #1
0
 public static extern int WebPPictureHasTransparency(ref WebPPicture picture);
Example #2
0
 public static extern int WebPPictureYUVAToARGB(ref WebPPicture picture);
Example #3
0
 public static extern void WebPCleanupTransparentArea(ref WebPPicture picture);
Example #4
0
 public static extern int WebPPictureImportBGRX(ref WebPPicture picture, [InAttribute()] IntPtr bgrx, int bgrx_stride);
Example #5
0
 public static extern int WebPPictureARGBToYUVA(ref WebPPicture picture, WebPEncCSP colorspace);
Example #6
0
 public static extern int WebPPictureInitInternal(ref WebPPicture param0, int param1);
Example #7
0
 public static extern int WebPPictureImportRGBX(ref WebPPicture picture, [InAttribute()] IntPtr rgbx, int rgbx_stride);
Example #8
0
 public static extern int WebPPictureView(ref WebPPicture src, int left, int top, int width, int height, ref WebPPicture dst);
Example #9
0
 public static extern int WebPPictureIsView(ref WebPPicture picture);
Example #10
0
 public static extern int WebPPictureDistortion(ref WebPPicture src, ref WebPPicture reference, int metric_type, ref float result);
Example #11
0
 public static extern int WebPPictureCrop(ref WebPPicture picture, int left, int top, int width, int height);
Example #12
0
 public static extern int WebPPictureCopy(ref WebPPicture src, ref WebPPicture dst);
Example #13
0
 public static extern void WebPPictureFree(ref WebPPicture picture);
Example #14
0
 public static extern int WebPPictureAlloc(ref WebPPicture picture);
Example #15
0
 public static extern int WebPEncode(ref WebPConfig config, ref WebPPicture picture);
Example #16
0
 public static extern int WebPPictureRescale(ref WebPPicture pic, int width, int height);
Example #17
0
 /// <summary>
 /// Should always be called, to initialize the structure. Returns false in case
 /// of version mismatch. WebPPictureInit() must have succeeded before using the
 /// 'picture' object.
 /// Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
 /// </summary>
 /// <param name="picture"></param>
 /// <returns></returns>
 public static int WebPPictureInit(ref WebPPicture picture)
 {
     return(Decode.WebPPictureInitInternal(ref picture, WEBP_ENCODER_ABI_VERSION));
 }
Example #18
0
 public static extern int WebPMemoryWrite([InAttribute()] IntPtr data, UIntPtr data_size, ref WebPPicture picture);