mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-09-24 23:42:03 -04:00
HEIF: image transformation support
This commit is contained in:
committed by
Mirco Miranda
parent
18d0f93d60
commit
8048279473
@@ -210,6 +210,19 @@ public:
|
||||
QImageIOHandler::Transformation transformation() const;
|
||||
void setTransformation(const QImageIOHandler::Transformation& t);
|
||||
|
||||
/*!
|
||||
* \brief transformationToOrientation
|
||||
* \param t The Qt transformation.
|
||||
* \return The EXIF orientation value or 0 if none.
|
||||
*/
|
||||
static quint16 transformationToOrientation(const QImageIOHandler::Transformation& t);
|
||||
/*!
|
||||
* \brief orientationToTransformation
|
||||
* \param o The EXIF orientation.
|
||||
* \return The orientation converted in the equivalent Qt transformation.
|
||||
*/
|
||||
static QImageIOHandler::Transformation orientationToTransformation(quint16 o);
|
||||
|
||||
/*!
|
||||
* \brief software
|
||||
* \return Name and version number of the software package(s) used to create the image.
|
||||
|
||||
Reference in New Issue
Block a user