22#ifndef LIBHEIF_HEIF_TEXT_H
23#define LIBHEIF_HEIF_TEXT_H
25#include "heif_image_handle.h"
26#include "heif_library.h"
27#include "heif_error.h"
68 heif_item_id* text_item_ids_array,
84 heif_item_id text_item_id,
118 char** out_language);
127 const char *content_type,
154 const char *language,
155 heif_property_id* out_optional_propertyId);
heif_error heif_text_item_set_extended_language(heif_text_item *text_item, const char *language, heif_property_id *out_optional_propertyId)
Set the extended language property to the text item.
heif_error heif_context_get_text_item(const heif_context *context, heif_item_id text_item_id, heif_text_item **out)
Get the text item.
heif_item_id heif_text_item_get_id(heif_text_item *text_item)
Get the item identifier for a text item.
int heif_image_handle_get_list_of_text_item_ids(const heif_image_handle *image_handle, heif_item_id *text_item_ids_array, int max_count)
Get the text item identifiers for the text items attached to an image.
heif_error heif_text_item_get_property_extended_language(const heif_text_item *text_item, char **out_language)
This function is similar to heif_item_get_property_extended_language(), but takes a heif_text_item as...
heif_error heif_image_handle_add_text_item(heif_image_handle *image_handle, const char *content_type, const char *text, heif_text_item **out_text_item)
Add a text item to an image.
int heif_image_handle_get_number_of_text_items(const heif_image_handle *image_handle)
Get the number of text items that are attached to an image.
const char * heif_text_item_get_content(heif_text_item *text_item)
Get the item content for a text item.
struct heif_text_item heif_text_item
Definition heif_text.h:37
void heif_text_item_release(heif_text_item *text_item)
Release a text item.