attached picture
Lukáš Lalinský
lalinsky at gmail.com
Fri Oct 16 15:03:53 CEST 2009
2009/10/16 Martin Obreshkov <martin.trashbox at gmail.com>:
> Yes, i implemented it by myself you can take a look of the code just
> modified a few files
> Implemented
> TagLib::MP4::Item::Item(const ByteVector &value);
> ByteVector TagLib::MP4::Item::toByteVector() const;
> void TagLib::MP4::Item::parseCover(Atom *atom, TagLib::File *file);
>
> and use it like this
>
> TagLib::MP4::ItemListMap itemsListMap = mp4Tag->itemListMap();
> TagLib::MP4::Item coverItem = itemsListMap["covr"];
> char * image = coverItem.toByteVector().data();
>
> the changes are attached if you want to use it
Thanks, that's great. What's missing is storing of the atom flag in
MP4::Item. In case of the covr atom it can be:
0x0D = JPEG
0x0E = PNG
--
Lukas Lalinsky
lalinsky at gmail.com
More information about the taglib-devel
mailing list