Пример #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);
Пример #2
0
 internal static extern unsafe heif_error heif_image_get_raw_color_profile(SafeHeifImage image, byte *data);
Пример #3
0
 internal static extern UIntPtr heif_image_get_raw_color_profile_size(SafeHeifImage handle);
Пример #4
0
 internal static extern heif_color_profile_type heif_image_get_color_profile_type(SafeHeifImage handle);
Пример #5
0
 internal static extern bool heif_image_has_channel(SafeHeifImage handle, HeifChannel channel);
Пример #6
0
 internal static extern heif_error heif_context_encode_image(SafeHeifContext context,
                                                             SafeHeifImage image,
                                                             SafeHeifEncoder encoder,
                                                             SafeHeifEncodingOptions options,
                                                             out SafeHeifImageHandle imageHandle);
 internal static extern heif_error heif_decode_image(SafeHeifImageHandle inHandle,
                                                     out SafeHeifImage outImage,
                                                     HeifColorspace colorspace,
                                                     HeifChroma chroma,
                                                     SafeHeifDecodingOptions options);
Пример #8
0
 internal static extern heif_error heif_image_set_nclx_color_profile(SafeHeifImage handle,
                                                                     SafeHeifNclxColorProfile nclxColorProfile);
Пример #9
0
 internal static extern HeifChroma heif_image_get_chroma_format(SafeHeifImage handle);
Пример #10
0
 internal static extern HeifColorspace heif_image_get_colorspace(SafeHeifImage handle);
Пример #11
0
 internal static extern heif_error heif_image_create(int width,
                                                     int height,
                                                     HeifColorspace colorspace,
                                                     HeifChroma chroma,
                                                     out SafeHeifImage image);
Пример #12
0
 internal static extern heif_error heif_image_add_plane(SafeHeifImage image,
                                                        HeifChannel channel,
                                                        int width,
                                                        int height,
                                                        int bitDepth);
 internal static extern void heif_image_set_premultiplied_alpha(SafeHeifImage handle, [MarshalAs(UnmanagedType.Bool)] bool value);
 internal static extern bool heif_image_is_premultiplied_alpha(SafeHeifImage handle);
Пример #15
0
 internal static extern heif_error heif_context_encode_image(SafeHeifContext context,
                                                             SafeHeifImage image,
                                                             SafeHeifEncoder encoder,
                                                             IntPtr options_MustBeZero,
                                                             IntPtr outImageHandle_MustBeZero);
Пример #16
0
 internal static extern heif_error heif_image_get_nclx_color_profile(SafeHeifImage image,
                                                                     out SafeHeifNclxColorProfile profile);
Пример #17
0
 internal static extern unsafe heif_error heif_image_set_raw_color_profile(SafeHeifImage handle,
                                                                           [MarshalAs(UnmanagedType.LPStr)] string profileFourCC,
                                                                           byte *profileData,
                                                                           UIntPtr profileSize);
Пример #18
0
 internal static extern int heif_image_get_height(SafeHeifImage handle, HeifChannel channel);
Пример #19
0
 internal static extern heif_error heif_image_scale_image(SafeHeifImage handle,
                                                          out SafeHeifImage scaledImage,
                                                          int newWidth,
                                                          int newHeight,
                                                          IntPtr options_MustBeZero);
Пример #20
0
 internal static extern IntPtr heif_image_get_plane(SafeHeifImage handle, HeifChannel channel, out int planeStride);
 internal static extern heif_error heif_decode_image(SafeHeifImageHandle inHandle,
                                                     out SafeHeifImage outImage,
                                                     HeifColorspace colorspace,
                                                     HeifChroma chroma,
                                                     IntPtr options_MustBeZero);
Пример #22
0
 internal static extern int heif_image_get_primary_height(SafeHeifImage handle);