Removing Individual Flac Pictures

Tim De Baets tdebaets98 at
Sat Jun 30 14:24:42 UTC 2012

Hi Sander,

I have contributed a patch a while ago that added an API for removing an 
individual FLAC picture:

This patch hasn't made it into TagLib's stable branch yet, but I'm 
guessing that it will be included in TagLib 2.0.

Kind regards,

Tim De Baets

On 28/06/2012 17:02, Sander Jansen wrote:
> Looking at taglib 1.7.2, there doesn't seem to be an easy way to
> remove a specific Flac::Picture. The only way to this now:
> 1. get list of all pictures
> 2. make a copy of each picture I want to keep.
> 3. call removePictures() to remove all pictures from the flac file.
> 4. append copied pictures back to the flac file.
> What I'm trying to do is to replace specific pictures in a file, for
> example replace all pictures tagged as frontcover.
> Can we get a API to easily remove one picture?
> As far as I know, Ogg and MP3 don't seemed to have this problem. You
> can easily remove specific frames. Haven't looked at MP4s yet
> Thanks,
> Sander
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at

More information about the taglib-devel mailing list