Crate id3_image_rs
source · [−]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 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.Embed the image
image
into music_filename
, in-place. Any errors reading ID3
tags from the music file get propagated upwards.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.Extract the first found embedded image from
music_filename
and return it as image objectRemove all embedded images from the given
music_filename
. In effect, this removes all tags of
type “APIC”.