Crate id3_image[][src]

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 into music_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 given image_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”.