digiKam
heif::ImageHandle Class Reference

Classes

class  DecodingOptions
 

Public Member Functions

Image decode_image (heif_colorspace colorspace, heif_chroma chroma, const DecodingOptions &options=DecodingOptions())
 
bool empty () const noexcept
 
int get_height () const noexcept
 
std::vector< heif_item_idget_list_of_metadata_block_IDs (const char *type_filter=nullptr) const noexcept
 
std::vector< heif_item_idget_list_of_thumbnail_IDs () const noexcept
 
std::vector< uint8_t > get_metadata (heif_item_id) const
 
std::string get_metadata_content_type (heif_item_id metadata_id) const noexcept
 
std::string get_metadata_type (heif_item_id metadata_id) const noexcept
 
int get_number_of_thumbnails () const noexcept
 
const heif_image_handleget_raw_image_handle () const noexcept
 
heif_image_handleget_raw_image_handle () noexcept
 
ImageHandle get_thumbnail (heif_item_id id)
 
int get_width () const noexcept
 
bool has_alpha_channel () const noexcept
 
 ImageHandle ()
 
 ImageHandle (heif_image_handle *handle)
 
bool is_primary_image () const noexcept
 

Constructor & Destructor Documentation

◆ ImageHandle() [1/2]

heif::ImageHandle::ImageHandle ( )
inline

Referenced by get_thumbnail().

◆ ImageHandle() [2/2]

heif::ImageHandle::ImageHandle ( heif_image_handle handle)
inline

Member Function Documentation

◆ decode_image()

Image heif::ImageHandle::decode_image ( heif_colorspace  colorspace,
heif_chroma  chroma,
const DecodingOptions options = DecodingOptions() 
)
inline

◆ empty()

bool heif::ImageHandle::empty ( ) const
inlinenoexcept

◆ get_height()

int heif::ImageHandle::get_height ( ) const
inlinenoexcept

◆ get_list_of_metadata_block_IDs()

std::vector< heif_item_id > heif::ImageHandle::get_list_of_metadata_block_IDs ( const char *  type_filter = nullptr) const
inlinenoexcept

◆ get_list_of_thumbnail_IDs()

std::vector< heif_item_id > heif::ImageHandle::get_list_of_thumbnail_IDs ( ) const
inlinenoexcept

◆ get_metadata()

std::vector< uint8_t > heif::ImageHandle::get_metadata ( heif_item_id  metadata_id) const
inline

◆ get_metadata_content_type()

std::string heif::ImageHandle::get_metadata_content_type ( heif_item_id  metadata_id) const
inlinenoexcept

◆ get_metadata_type()

std::string heif::ImageHandle::get_metadata_type ( heif_item_id  metadata_id) const
inlinenoexcept

◆ get_number_of_thumbnails()

int heif::ImageHandle::get_number_of_thumbnails ( ) const
inlinenoexcept

◆ get_raw_image_handle() [1/2]

const heif_image_handle* heif::ImageHandle::get_raw_image_handle ( ) const
inlinenoexcept

◆ get_raw_image_handle() [2/2]

◆ get_thumbnail()

ImageHandle heif::ImageHandle::get_thumbnail ( heif_item_id  id)
inline

◆ get_width()

int heif::ImageHandle::get_width ( ) const
inlinenoexcept

◆ has_alpha_channel()

bool heif::ImageHandle::has_alpha_channel ( ) const
inlinenoexcept

◆ is_primary_image()

bool heif::ImageHandle::is_primary_image ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: