[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: Cover of flac file
From:       Lukáš Lalinský <lalinsky () gmail ! com>
Date:       2012-10-23 12:16:01
Message-ID: CAGUtLj8YnhPTpDr2AogFbyvX-NhnbaQq+eK0Ba8Dhz6otiKF6w () mail ! gmail ! com
[Download RAW message or body]

On Tue, Oct 23, 2012 at 1:30 PM, grisha <grish.vanika@gmail.com> wrote:
> What should I do to get the picture in this case?

You can base64-decode the field and pass the result to the
FLAC::Picture constructor:

http://taglib.github.com/api/classTagLib_1_1FLAC_1_1Picture.html#a95e98a3812296d5e718c0044a53b8f26

See the Xiph documentation for details:

http://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE

Note that this is not the recommended way to store images in FLAC
files. It's a workaround for Ogg-based formats to support images. FLAC
can handle them natively, so it's better to use the picture block in
FLAC.

Lukas
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic