padatronic
padatronic

Reputation: 98

Get the artwork for an mp3 file

Hi guys does anyone how you can access the artwork image for an mp3. I download the mp3 from a server and save it in documents, and when i play it from file I want to display the image for the mp3?

thanks

Upvotes: 0

Views: 719

Answers (2)

tc.
tc.

Reputation: 33592

It's probably going to be in the ID3 tag. 2.4 and 2.3 ("APIC") are the most common, but 2.2 ("PIC") is still floating around. There are various C libraries which may help.

There's MPMediaItemArtwork, but I think that only works for files in the iTunes/iPod/whatever library.

Upvotes: 1

Krumelur
Krumelur

Reputation: 32497

The album art is usually embedded in the ID3 tag. The id3lib library can be used to read it.

EDIT: There is also the id3v2 command-line utility. I haven't used it though.

Upvotes: 2

Related Questions