Artwork is always associated with an individual track.
To add a piece of artwork to a track, use IITTrack::AddArtworkFromFile(). The IITTrack::Artwork property returns the collection of artwork for the track.
Public Member Functions | |
Methods | |
HRESULT | Delete () |
Delete this piece of artwork from the track. | |
HRESULT | SetArtworkFromFile ([in] BSTR filePath) |
Replace existing artwork data with new artwork from an image file. | |
HRESULT | SaveArtworkToFile ([in] BSTR filePath) |
Save artwork data to an image file. | |
Properties | |
HRESULT | Format ([out, retval] ITArtworkFormat *format) |
Returns the format of the artwork. | |
HRESULT | IsDownloadedArtwork ([out, retval] VARIANT_BOOL *isDownloadedArtwork) |
Returns true if the artwork was downloaded by iTunes. | |
HRESULT | Description ([out, retval] BSTR *description) |
Returns the description for the artwork. Artwork descriptions are only supported in files that use ID3 tags (i.e. MP3 files). | |
HRESULT | Description ([in] BSTR description) |
Sets the description for the artwork. Artwork descriptions are only supported in files that use ID3 tags (i.e. MP3 files). |
|
Delete this piece of artwork from the track.
|
|
Sets the description for the artwork. Artwork descriptions are only supported in files that use ID3 tags (i.e. MP3 files).
|
|
Returns the description for the artwork. Artwork descriptions are only supported in files that use ID3 tags (i.e. MP3 files).
|
|
Returns the format of the artwork.
|
|
Returns true if the artwork was downloaded by iTunes.
|
|
Save artwork data to an image file. The format of the saved data is specified by the artwork's format (JPEG, PNG, or BMP). The directory that contains the file must already exist, it will not be created. If the file already exists, its contents will be replaced.
|
|
Replace existing artwork data with new artwork from an image file.
|