示例#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);