Exemple #1
0
 internal static extern heif_error heif_context_encode_thumbnail(SafeHeifContext context,
                                                                 SafeHeifImage thumbnail,
                                                                 SafeHeifImageHandle parentImageHandle,
                                                                 SafeHeifEncoder encoder,
                                                                 IntPtr options_MustBeZero,
                                                                 int boundingBoxSize,
                                                                 IntPtr outImageHandle_MustBeZero);
Exemple #2
0
 internal static extern unsafe heif_error heif_context_add_exif_metadata(SafeHeifContext context,
                                                                         SafeHeifImageHandle handle,
                                                                         byte *data,
                                                                         int dataSize);
Exemple #3
0
 internal static extern heif_error heif_context_write(SafeHeifContext context,
                                                      SafeHandle writer,
                                                      IntPtr userData);
Exemple #4
0
 internal static extern heif_error heif_context_set_primary_image(SafeHeifContext context, SafeHeifImageHandle handle);
Exemple #5
0
 internal static extern heif_error heif_context_get_encoder_for_format(SafeHeifContext context,
                                                                       HeifCompressionFormat format,
                                                                       out SafeHeifEncoder encoder);
Exemple #6
0
 internal static extern heif_error heif_context_encode_image(SafeHeifContext context,
                                                             SafeHeifImage image,
                                                             SafeHeifEncoder encoder,
                                                             IntPtr options_MustBeZero,
                                                             IntPtr outImageHandle_MustBeZero);
Exemple #7
0
 internal static extern heif_error heif_context_encode_image(SafeHeifContext context,
                                                             SafeHeifImage image,
                                                             SafeHeifEncoder encoder,
                                                             SafeHeifEncodingOptions options,
                                                             out SafeHeifImageHandle imageHandle);
Exemple #8
0
 internal static extern heif_error heif_context_get_image_handle(SafeHeifContext context,
                                                                 HeifItemId id,
                                                                 out SafeHeifImageHandle imageHandle);
Exemple #9
0
 internal static extern heif_error heif_context_get_primary_image_handle(SafeHeifContext context,
                                                                         out SafeHeifImageHandle primaryImageHandle);
Exemple #10
0
 internal static extern unsafe int heif_context_get_list_of_top_level_image_IDs(SafeHeifContext context, HeifItemId *idArray, int count);
Exemple #11
0
 internal static extern int heif_context_get_number_of_top_level_images(SafeHeifContext context);
Exemple #12
0
 internal static extern heif_error heif_context_read_from_reader(SafeHeifContext context,
                                                                 SafeHandle reader,
                                                                 IntPtr userData,
                                                                 IntPtr options);
Exemple #13
0
 internal static extern void set_maximum_image_size_limit(SafeHeifContext context, int maxImageSizeLimit);
Exemple #14
0
 internal static extern heif_error heif_context_get_encoder(SafeHeifContext context,
                                                            heif_encoder_descriptor descriptor,
                                                            out SafeHeifEncoder encoder);
Exemple #15
0
 internal static extern unsafe int heif_context_get_encoder_descriptors(SafeHeifContext context,
                                                                        HeifCompressionFormat compressionFormat,
                                                                        [MarshalAs(UnmanagedType.LPStr)] string nameFilter,
                                                                        heif_encoder_descriptor *items,
                                                                        int count);
Exemple #16
0
 internal static extern unsafe heif_error heif_context_add_generic_metadata(SafeHeifContext context,
                                                                            SafeHeifImageHandle handle,
                                                                            byte *data,
                                                                            int dataSize,
                                                                            [MarshalAs(UnmanagedType.LPStr)] string type,
                                                                            [MarshalAs(UnmanagedType.LPStr)] string contentType);