Expand description
A command-line tool to embed images into mp3 files. The real work is done by the “id3” crate, but this project makes it easier to deal with embedded cover art in particular.
Functions§
- embed_
image - Embed the image from
image_filename
intomusic_filename
, in-place. Any errors reading ID3 tags from the music file or parsing the image get propagated upwards. - extract_
first_ image - Extract the first found embedded image from
music_filename
and write it as a file with the givenimage_filename
. The image file will be silently overwritten if it exists. - remove_
images - Remove all embedded images from the given
music_filename
. In effect, this removes all tags of type “APIC”.