예제 #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);