#include <mp4coverart.h>
Public Types | |
enum | Format { JPEG = TypeJPEG , PNG = TypePNG , BMP = TypeBMP , GIF = TypeGIF , Unknown = TypeImplicit } |
Public Member Functions | |
CoverArt (Format format, const ByteVector &data) | |
~CoverArt () | |
CoverArt (const CoverArt &item) | |
CoverArt & | operator= (const CoverArt &item) |
void | swap (CoverArt &item) noexcept |
Format | format () const |
Format of the image. | |
ByteVector | data () const |
The image data. | |
bool | operator== (const CoverArt &other) const |
bool | operator!= (const CoverArt &other) const |
MP4 picture.
TagLib::MP4::CoverArt::CoverArt | ( | Format | format, |
const ByteVector & | data | ||
) |
TagLib::MP4::CoverArt::~CoverArt | ( | ) |
ByteVector TagLib::MP4::CoverArt::data | ( | ) | const |
The image data.
Format TagLib::MP4::CoverArt::format | ( | ) | const |
Format of the image.
Returns true
if the CoverArt and other differ in format or data.
Copies the contents of item into this CoverArt.
Returns true
if the CoverArt and other are of the same format and contain the same data.
Exchanges the content of the CoverArt with the content of item.