mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-06-27 15:49:10 -04:00
HEIF: image transformation support
This commit is contained in:
committed by
Mirco Miranda
parent
18d0f93d60
commit
8048279473
@@ -51,9 +51,24 @@ private:
|
||||
ParseHeicState m_parseState;
|
||||
int m_quality;
|
||||
QImage m_current_image;
|
||||
quint16 m_orientation;
|
||||
|
||||
bool write_helper(const QImage &image);
|
||||
|
||||
/*!
|
||||
* \brief heif_orientation_helper
|
||||
* Read the transform_mirror and transform_rotation_ccw properties and set \a m_orientation
|
||||
* \return True on success, otherwise false.
|
||||
*/
|
||||
bool read_orientation_helper(void *heif_handle, const void *heif_ctx);
|
||||
|
||||
/*!
|
||||
* \brief read_crop
|
||||
* Read the crop information.
|
||||
* \return True on success, otherwise false.
|
||||
*/
|
||||
bool read_crop(void *heif_handle, const void *heif_ctx, const QSize& size, QRect &crop);
|
||||
|
||||
static void startHeifLib();
|
||||
static void finishHeifLib();
|
||||
static void queryHeifLib();
|
||||
|
||||
Reference in New Issue
Block a user