Image Formats NG
|
This class contains exif meta information of the image. More...
Public Types | |
enum | Tag { TagImageWidth = 0x0100, TagImageHeight = 0x0101, TagDocumentName = 0x010d, TagImageDescription = 0x010e, TagOrientation = 0x0112 } |
This enum describes possible exif tags. More... | |
enum | Orientation { OrientationHorizontal = 1, OrientationHMirror = 2, OrientationRotate180 = 3, OrientationVMirror180 = 4, OrientationHMirrorRotate270 = 5, OrientationRotate90 = 6, OrientationHMirrorRotate90 = 7, OrientationRotate270 = 8 } |
This enum describes possible orientation of the image. More... | |
Public Member Functions | |
ImageExifMeta () | |
Constructs an empty ImageExifMeta object. | |
ImageExifMeta (const ImageExifMeta &other) | |
Copy-constructs an ImageExifMeta object from the given other object. | |
ImageExifMeta (ImageExifMeta &&other) | |
Move-constructs an ImageExifMeta object from the given other object. | |
~ImageExifMeta () | |
Destroys the ImageExifMeta object. | |
ImageExifMeta & | operator= (const ImageExifMeta &other) |
Assigns a shallow copy of the other meta to this meta and returns a reference to this meta. | |
ImageExifMeta & | operator= (ImageExifMeta &&other) |
Move-assigns other to this ImageExifMeta instance. | |
QHash< Tag, QVariant > | toHash () const |
Converts this object to the QHash of containing QVariants. | |
QVariantMap | toVariantMap () const |
Converts this object to the QMap of containing QVariants. | |
bool | isEmpty () const |
Returns true if this object contains no values. | |
bool | hasValue (Tag tag) const |
Returns true if this object contains value for the given tag. | |
QVariant | value (Tag tag) const |
Returns QVariant for the value contained in this object for the given tag. | |
void | setValue (Tag tag, const QVariant &value) |
Sets the value for the given tag to the given value. | |
void | removeValue (Tag tag) |
Removes value for the given tag from this object. | |
void | clear () |
Cleares contents. | |
Static Public Member Functions | |
static Optional< ImageExifMeta > | fromHash (const QHash< Tag, QVariant > &hash) |
Creates an ImageExifMeta object from the QHash containing QVariants. | |
static Optional< ImageExifMeta > | fromVariantMap (const QVariantMap &map) |
Creates an ImageExifMeta object from the QMap containing QVariants. | |
This class contains exif meta information of the image.
This enum describes possible orientation of the image.
enum ImageExifMeta::Tag |
This enum describes possible exif tags.
Enumerator | |
---|---|
TagImageWidth | Image width. |
TagImageHeight | Image heigth. |
TagDocumentName | Image name. |
TagImageDescription | Image description. |
TagOrientation | Image orientation.
|