This is a utility that was written by a user to add to the id3tools package. Not sure if they plan on officially adding it since it was given to them in February and it's still not in the CVS.
Code: Select all
Usage: /usr/bin/id3pic [options] <mp3file> [<mp3file> ...]
Options:
-o<index>:<file>, --export=<index>:<file>
Export specified picture to file.
-d<index>, --delete=<index>
Delete specified picture.
-i<type>:<mime>:<file>, --import=<type>:<mime>:<file>
Import picture from file.
<type> should be one of the following integers:
0 Other
1 32x32 pixels 'file icon' (PNG only)
2 Other file icon
3 Cover (front)
4 Cover (back)
5 Leaflet page
6 Media (e.g. lable side of CD)
7 Lead artist/lead performer/soloist
8 Artist/performer
9 Conductor
10 Band/Orchestra
11 Composer
12 Lyricist/text writer
13 Recording Location
14 During recording
15 During performance
16 Movie/video screen capture
17 A bright coloured fish
18 Illustration
19 Band/artist logotype
20 Publisher/Studio logotype
<mime> can be any MIME type, but image/jpeg or image/png is recommended.
If no options are given, lists pictures to stdout.
g++ -std=c++0x -lstdc++ -lz -O3 -o id3pic id3pic.cpp -lid3