Hi,

    I'm currently adding the support of pictures in Flac tags for EasyTAG.
Helped with examples contained in the package 1.2.1, the first tests seems correct. But I don't understand how to get all the pictures of the tag.
For example, the attached file was generated with the "flac-1.2.1/test/test_metaflac.sh" script and contains 2 pictures (one of 446 bytes, and one of 462 bytes)

To read the picture, I use the following function :
FLAC__bool FLAC__metadata_get_picture const char *  filename,


FLAC__StreamMetadata **  picture,


FLAC__StreamMetadata_Picture_Type  type,


const char *  mime_type,


const FLAC__byte *  description,


unsigned  max_width,


unsigned  max_height,


unsigned  max_depth,


unsigned  max_colors


but this function seems to return only the last one...

How to get all the pictures?

Thanks in advance,
Regards,
Jerome

Attachment: metaflac.flac
Description: audio/flac

_______________________________________________
Flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to