struct
#include <include/mtx/events/common.hpp>
ImageInfo Metadata about an image.
Public variables
- uint64_t h
- The height of the image in pixels.
- uint64_t w
- The width of the image in pixels.
- uint64_t size
- Size of the image in bytes.
- ThumbnailInfo thumbnail_info
- Metadata about the image referred to in
thumbnail_url
. - std::string thumbnail_url
- The URL to a thumbnail of the image.
- std::string mimetype
- The mimetype of the image,
e.g. image/jpeg
. -
std::optional<crypto::
EncryptedFile> thumbnail_file - Encryption members. If present, they replace thumbnail_url.
- std::string blurhash
- experimental blurhash, see MSC2448