|
void | add_exif_metadata (const ImageHandle &master_image, const void *data, int size) |
|
void | add_XMP_metadata (const ImageHandle &master_image, const void *data, int size) |
|
void | assign_thumbnail (const ImageHandle &thumbnail_image, const ImageHandle &master_image) |
|
| Context () |
|
ImageHandle | encode_image (const Image &img, Encoder &encoder, const EncodingOptions &options=EncodingOptions()) |
|
ImageHandle | encode_thumbnail (const Image &image, const ImageHandle &master_image, Encoder &encoder, const EncodingOptions &, int bbox_size) |
|
ImageHandle | get_image_handle (heif_item_id id) const |
|
std::vector< heif_item_id > | get_list_of_top_level_image_IDs () const noexcept |
|
int | get_number_of_top_level_images () const noexcept |
|
ImageHandle | get_primary_image_handle () const |
|
heif_item_id | get_primary_image_ID () const |
|
bool | is_top_level_image_ID (heif_item_id id) const noexcept |
|
void | read_from_file (std::string filename, const ReadingOptions &opts=ReadingOptions()) |
|
void | read_from_memory (const void *mem, size_t size, const ReadingOptions &opts=ReadingOptions()) |
|
void | read_from_memory_without_copy (const void *mem, size_t size, const ReadingOptions &opts=ReadingOptions()) |
|
void | read_from_reader (Reader &, const ReadingOptions &opts=ReadingOptions()) |
|
void | set_primary_image (ImageHandle &new_primary_image_handle) |
|
void | write (Writer &) |
|
void | write_to_file (std::string filename) const |
|
◆ Context()
heif::Context::Context |
( |
| ) |
|
|
inline |
◆ add_exif_metadata()
void heif::Context::add_exif_metadata |
( |
const ImageHandle & |
master_image, |
|
|
const void * |
data, |
|
|
int |
size |
|
) |
| |
|
inline |
◆ add_XMP_metadata()
void heif::Context::add_XMP_metadata |
( |
const ImageHandle & |
master_image, |
|
|
const void * |
data, |
|
|
int |
size |
|
) |
| |
|
inline |
◆ assign_thumbnail()
void heif::Context::assign_thumbnail |
( |
const ImageHandle & |
thumbnail_image, |
|
|
const ImageHandle & |
master_image |
|
) |
| |
|
inline |
◆ encode_image()
◆ encode_thumbnail()
◆ get_image_handle()
◆ get_list_of_top_level_image_IDs()
std::vector< heif_item_id > heif::Context::get_list_of_top_level_image_IDs |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_number_of_top_level_images()
int heif::Context::get_number_of_top_level_images |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_primary_image_handle()
ImageHandle heif::Context::get_primary_image_handle |
( |
| ) |
const |
|
inline |
◆ get_primary_image_ID()
◆ is_top_level_image_ID()
bool heif::Context::is_top_level_image_ID |
( |
heif_item_id |
id | ) |
const |
|
inlinenoexcept |
◆ read_from_file()
◆ read_from_memory()
◆ read_from_memory_without_copy()
◆ read_from_reader()
◆ set_primary_image()
void heif::Context::set_primary_image |
( |
ImageHandle & |
new_primary_image_handle | ) |
|
|
inline |
◆ write()
void heif::Context::write |
( |
Writer & |
writer | ) |
|
|
inline |
◆ write_to_file()
void heif::Context::write_to_file |
( |
std::string |
filename | ) |
const |
|
inline |
◆ heif_writer_trampoline_write
struct ::heif_error heif_writer_trampoline_write |
( |
struct heif_context * |
ctx, |
|
|
const void * |
data, |
|
|
size_t |
size, |
|
|
void * |
userdata |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: