|
TagLib
2.1.1
|
#include <flacpicture.h>
Public Member Functions | |
| Picture () | |
| Picture (const ByteVector &data) | |
| ~Picture () override | |
| Picture (const Picture &item)=delete | |
| Picture & | operator= (const Picture &item)=delete |
| Type | type () const |
| void | setType (Type type) |
| String | mimeType () const |
| void | setMimeType (const String &mimeType) |
| String | description () const |
| void | setDescription (const String &description) |
| int | width () const |
| void | setWidth (int width) |
| int | height () const |
| void | setHeight (int height) |
| int | colorDepth () const |
| void | setColorDepth (int colorDepth) |
| int | numColors () const |
| void | setNumColors (int numColors) |
| ByteVector | data () const |
| void | setData (const ByteVector &data) |
| int | code () const override |
| ByteVector | render () const override |
| bool | parse (const ByteVector &data) |
| Public Member Functions inherited from TagLib::FLAC::MetadataBlock | |
| MetadataBlock () | |
| virtual | ~MetadataBlock () |
| MetadataBlock (const MetadataBlock &item)=delete | |
| MetadataBlock & | operator= (const MetadataBlock &item)=delete |
Additional Inherited Members | |
| Public Types inherited from TagLib::FLAC::MetadataBlock | |
| enum | BlockType { StreamInfo = 0 , Padding , Application , SeekTable , VorbisComment , CueSheet , Picture } |
FLAC picture.
| TagLib::FLAC::Picture::Picture | ( | ) |
References Picture().
Referenced by operator=(), Picture(), Picture(), Picture(), and ~Picture().
| TagLib::FLAC::Picture::Picture | ( | const ByteVector & | data | ) |
|
override |
References Picture().
|
delete |
References Picture().
|
overridevirtual |
Returns the FLAC metadata block type.
Implements TagLib::FLAC::MetadataBlock.
References code().
Referenced by code().
| int TagLib::FLAC::Picture::colorDepth | ( | ) | const |
Returns the color depth (in bits-per-pixel) of the image.
References colorDepth().
Referenced by colorDepth(), and setColorDepth().
| ByteVector TagLib::FLAC::Picture::data | ( | ) | const |
| String TagLib::FLAC::Picture::description | ( | ) | const |
Returns a text description of the image.
References description().
Referenced by description(), and setDescription().
| int TagLib::FLAC::Picture::height | ( | ) | const |
| String TagLib::FLAC::Picture::mimeType | ( | ) | const |
Returns the mime type of the image. This should in most cases be "image/png" or "image/jpeg".
References mimeType().
Referenced by mimeType(), and setMimeType().
| int TagLib::FLAC::Picture::numColors | ( | ) | const |
Returns the number of colors used on the image..
References numColors().
Referenced by numColors(), and setNumColors().
| bool TagLib::FLAC::Picture::parse | ( | const ByteVector & | data | ) |
Parse the picture data in the FLAC picture block format.
References data(), parse(), and TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE.
Referenced by parse().
|
overridevirtual |
Render the content to the FLAC picture block format.
Implements TagLib::FLAC::MetadataBlock.
References render().
Referenced by render().
| void TagLib::FLAC::Picture::setColorDepth | ( | int | colorDepth | ) |
Sets the color depth (in bits-per-pixel) of the image.
References colorDepth(), and setColorDepth().
Referenced by setColorDepth().
| void TagLib::FLAC::Picture::setData | ( | const ByteVector & | data | ) |
| void TagLib::FLAC::Picture::setDescription | ( | const String & | description | ) |
Sets a textual description of the image to description.
References description(), and setDescription().
Referenced by setDescription().
| void TagLib::FLAC::Picture::setHeight | ( | int | height | ) |
| void TagLib::FLAC::Picture::setMimeType | ( | const String & | mimeType | ) |
Sets the mime type of the image. This should in most cases be "image/png" or "image/jpeg".
References mimeType(), and setMimeType().
Referenced by setMimeType().
| void TagLib::FLAC::Picture::setNumColors | ( | int | numColors | ) |
Sets the number of colors used on the image (for indexed images).
References numColors(), and setNumColors().
Referenced by setNumColors().
| void TagLib::FLAC::Picture::setType | ( | Type | type | ) |
| void TagLib::FLAC::Picture::setWidth | ( | int | width | ) |
| Type TagLib::FLAC::Picture::type | ( | ) | const |
| int TagLib::FLAC::Picture::width | ( | ) | const |