Пример #1
0
 public SKData Encode(SKEncodedImageFormat format, int quality)
 {
     return(SKData.GetObject(SkiaApi.sk_image_encode_specific(Handle, format, quality)));
 }
Пример #2
0
 public SKData DetachAsData()
 {
     return(SKData.GetObject(SkiaApi.sk_dynamicmemorywstream_detach_as_data(Handle)));
 }
Пример #3
0
 public SKData Encode() =>
 SKData.GetObject(SkiaApi.sk_image_encode(Handle));
Пример #4
0
        // Serialize

        public SKData Serialize() =>
        SKData.GetObject(SkiaApi.sk_picture_serialize_to_data(Handle));