Releases: Cykooz/libheif-sys
Releases · Cykooz/libheif-sys
[3.1.0] - 2024-12-04
Changes
-
.h
files fromlibheif
was embedded in the crate sources. -
Changed
build.rs
to use embedded.h
files for the bindgen build stage
instead of.h
files from the installed libheif library.Now you can link the crate with any version of
libheif
that is backward compatible with the version supported by the crate.
Fixes
- Deleted layout tests from
bindings.rs
(#8).
[2.2.1] - 2024-12-02
Fixes
- Deleted layout tests from
bindings.rs
(#8).
[2.2.0] - 2024-11-14
Changes
-
.h
files fromlibheif
was embedded in the crate sources. -
Changed
build.rs
to use embedded.h
files for the bindgen build stage
instead of.h
files from the installed libheif library.Now you can link the crate with any version of
libheif
that is backward compatible with the version supported by the crate.
[3.0.1] - 2024-11-12
Added
- Added features to compile
libheif
source-code form GitHub and
link it statically (not supported for Windows):compile-libheif
embedded-libheif-plugins
- Updated "bindings.rs" to correspond
libheif 1.18.2
:- added new values into
heif_suberror_code
"enum':heif_suberror_code_heif_suberror_No_ispe_property
heif_suberror_code_heif_suberror_Camera_intrinsic_matrix_undefined
heif_suberror_code_heif_suberror_Camera_extrinsic_matrix_undefined
heif_suberror_code_heif_suberror_Invalid_J2K_codestream
heif_suberror_code_heif_suberror_No_vvcC_box
heif_suberror_code_heif_suberror_No_icbr_box
heif_suberror_code_heif_suberror_Decompression_invalid_data
heif_suberror_code_heif_suberror_Compression_initialisation_error
heif_suberror_code_heif_suberror_Unsupported_generic_compression_method
heif_suberror_code_heif_suberror_No_matching_decoder_installed
- added new values into
heif_compression_format
"enum':heif_compression_format_heif_compression_HTJ2K
- added new values into
heif_metadata_compression
"enum':heif_metadata_compression_heif_metadata_compression_zlib
heif_metadata_compression_heif_metadata_compression_brotli
- added field
prefer_uncC_short_form
into structheif_encoding_options
- added structs:
heif_camera_intrinsic_matrix
heif_property_user_description
heif_region_item
heif_region
- added enums:
heif_item_property_type
heif_transform_mirror_direction
heif_region_type
- added functions:
heif_has_compatible_filetype
heif_context_add_compatible_brand
heif_context_encode_grid
heif_context_add_generic_uri_metadata
heif_item_get_properties_of_type
heif_item_get_transformation_properties
heif_item_get_property_type
heif_item_get_property_user_description
heif_item_add_property_user_description
heif_property_user_description_release
heif_item_get_property_transform_mirror
heif_item_get_property_transform_rotation_ccw
heif_item_get_property_transform_crop_borders
heif_item_add_raw_property
heif_item_get_property_raw_size
heif_item_get_property_raw_data
heif_image_handle_get_number_of_region_items
heif_image_handle_get_list_of_region_item_ids
heif_context_get_region_item
heif_region_item_get_id
heif_region_item_release
heif_region_item_get_reference_size
heif_region_item_get_number_of_regions
heif_region_item_get_list_of_regions
heif_region_release
heif_region_release_many
heif_region_get_type
heif_region_get_point
heif_region_get_point_transformed
heif_region_get_rectangle
heif_region_get_rectangle_transformed
heif_region_get_ellipse
heif_region_get_ellipse_transformed
heif_region_get_polygon_num_points
heif_region_get_polygon_points
heif_region_get_polygon_points_transformed
heif_region_get_polyline_num_points
heif_region_get_polyline_points
heif_region_get_polyline_points_transformed
heif_region_get_referenced_mask_ID
heif_region_get_inline_mask_data_len
heif_region_get_inline_mask_data
heif_region_get_mask_image
heif_image_handle_add_region_item
heif_region_item_add_region_point
heif_region_item_add_region_rectangle
heif_region_item_add_region_ellipse
heif_region_item_add_region_polygon
heif_region_item_add_region_polyline
heif_region_item_add_region_referenced_mask
heif_region_item_add_region_inline_mask_data
heif_region_item_add_region_inline_mask
- added new values into
Fixed
- BREAKING: Deleted deriving
Copy
andClone
for structs with pointers:heif_plugin_info
heif_decoding_options
heif_encoding_options
[2.1.0] - 2023-11-28
- Updated "bindings.rs" to correspond
libheif 1.17.4
:- added new values into
heif_compression_format
"enum':heif_compression_format_heif_compression_mask
- added new values into
heif_brand
"enum':heif_brand_heif_j2ki
heif_brand_heif_j2is
- added functions:
heif_get_plugin_directories
heif_free_plugin_directories
heif_image_handle_get_preferred_decoding_colorspace
heif_image_handle_get_context
heif_image_handle_get_metadata_item_uri_type
- added new values into
[2.0.1] - 2023-11-24
- Changed
build.rs
to fix missing include-directory on macOS (#6).
[2.0.0] - 2023-09-12
- Fixed link to crate documentation.
- Updated version of
bindgen
to 0.68. - Added bindgen settings to copy comments from
heif.h
into generated rust file. - BREAKING: Feature
use-binding
added into list of default features.
[1.16.2] - 2023-09-08
- Fixed minimal required version of
libeif
inbuild.rs
script. - Don't link with
libheif
in case of building documentation fordocs.rs
.
[1.16.1] - 2023-06-21
- Fixed minimal required version of
libheif
inREADME.md
.
[1.16.0] - 2023-06-21
- Updated version of
bindgen
to 0.66. - Updated "bindings.rs" to correspond
libheif 1.16.2
:- added new values into
heif_suberror_code
"enum":heif_suberror_code_heif_suberror_Invalid_region_data
heif_suberror_code_heif_suberror_Invalid_property
heif_suberror_code_heif_suberror_Item_reference_cycle
heif_suberror_code_heif_suberror_Encoder_initialization
heif_suberror_code_heif_suberror_Encoder_encoding
heif_suberror_code_heif_suberror_Encoder_cleanup
heif_suberror_code_heif_suberror_Too_many_regions
- added new values into
heif_brand
"enum":heif_brand_heif_vvic
heif_brand_heif_vvis
heif_brand_heif_evbi
heif_brand_heif_evbs
- added new values into
heif_compression_format
"enum":heif_compression_format_heif_compression_VVC
heif_compression_format_heif_compression_EVC
heif_compression_format_heif_compression_JPEG2000
heif_compression_format_heif_compression_uncompressed
- added new "enum"
heif_item_property_type
with follow values:heif_item_property_type_heif_item_property_type_invalid
heif_item_property_type_heif_item_property_type_user_description
heif_item_property_type_heif_item_property_type_transform_mirror
heif_item_property_type_heif_item_property_type_transform_rotation
heif_item_property_type_heif_item_property_type_transform_crop
heif_item_property_type_heif_item_property_type_image_size
- added new "enum"
heif_transform_mirror_direction
with follow values:heif_transform_mirror_direction_heif_transform_mirror_direction_vertical
heif_transform_mirror_direction_heif_transform_mirror_direction_horizontal
- added new "enum"
heif_chroma_downsampling_algorithm
with follow values:heif_chroma_downsampling_algorithm_heif_chroma_downsampling_nearest_neighbor
heif_chroma_downsampling_algorithm_heif_chroma_downsampling_average
heif_chroma_downsampling_algorithm_heif_chroma_downsampling_sharp_yuv
- added new "enum"
heif_chroma_upsampling_algorithm
with follow values:heif_chroma_upsampling_algorithm_heif_chroma_upsampling_nearest_neighbor
heif_chroma_upsampling_algorithm_heif_chroma_upsampling_bilinear
- added new "enum"
heif_region_type
with follow values:heif_region_type_heif_region_type_point
heif_region_type_heif_region_type_rectangle
heif_region_type_heif_region_type_ellipse
heif_region_type_heif_region_type_polygon
heif_region_type_heif_region_type_referenced_mask
heif_region_type_heif_region_type_inline_mask
heif_region_type_heif_region_type_polyline
- added structs:
heif_property_user_description
heif_plugin_info
heif_color_conversion_options
heif_content_light_level
heif_mastering_display_colour_volume
heif_decoded_mastering_display_colour_volume
heif_decoder_descriptor
heif_region_item
heif_region
- added new fields into
heif_decoding_options
struct:decoder_id
color_conversion_options
- added field
color_conversion_options
into structureheif_encoding_options
; - added functions:
heif_image_handle_get_item_id
heif_image_handle_release_auxiliary_type
heif_item_get_properties_of_type
heif_item_get_transformation_properties
heif_item_get_property_type
heif_item_get_property_user_description
heif_item_add_property_user_description
heif_property_user_description_release
heif_item_get_property_transform_mirror
heif_item_get_property_transform_rotation_ccw
heif_item_get_property_transform_crop_borders
heif_image_has_content_light_level
heif_image_get_content_light_level
heif_image_set_content_light_level
heif_image_has_mastering_display_colour_volume
heif_image_get_mastering_display_colour_volume
heif_image_set_mastering_display_colour_volume
heif_mastering_display_colour_volume_decode
heif_image_get_pixel_aspect_ratio
heif_image_set_pixel_aspect_ratio
heif_get_decoder_descriptors
heif_decoder_descriptor_get_name
heif_decoder_descriptor_get_id_name
heif_get_encoder_descriptors
heif_image_extend_padding_to_size
heif_image_handle_get_number_of_region_items
heif_image_handle_get_list_of_region_item_ids
heif_context_get_region_item
heif_region_item_get_id
heif_region_item_release
heif_region_item_get_reference_size
heif_region_item_get_number_of_regions
heif_region_item_get_list_of_regions
heif_region_release
heif_region_release_many
heif_region_get_type
heif_region_get_point
heif_region_get_point_transformed
heif_region_get_rectangle
heif_region_get_rectangle_transformed
heif_region_get_ellipse
heif_region_get_ellipse_transformed
heif_region_get_polygon_num_points
heif_region_get_polygon_points
heif_region_get_polygon_points_transformed
heif_region_get_polyline_num_points
heif_region_get_polyline_points
heif_region_get_polyline_points_transformed
heif_image_handle_add_region_item
heif_region_item_add_region_point
heif_region_item_add_region_rectangle
heif_region_item_add_region_ellipse
heif_region_item_add_region_polygon
heif_region_item_add_region_polyline
- added new values into