Skip to content

Cleanup and extend EmbeddedImageData

This moves the embeddedimagedata implementation to the extractor/writer plugins, to remove some code duplications. It also removes the TagLib dependency from the core KFileMetaData library.

It also extends the set of supported Cover Image types, beyond FrontCover all the other 20 types known by TagLib are supported, most notably BackCover and Other.

This also fixes several issues in the writing code, it is now possible to also delete any embedded Cover image. The writing code was also broken for some formats when trying a add a new image (instead of replacing an existing one). These cases are now also covered by unit tests.

Merge request reports