<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1"><font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
&nbsp;&nbsp;&nbsp; I'm currently adding the support of pictures in Flac tags for
EasyTAG.<br>
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.<br>
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) <br>
<br>
To read the picture, I use the following function :<br>
</font></font>
<table border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td class="md" nowrap="nowrap" valign="top">FLAC__bool
FLAC__metadata_get_picture </td>
      <td class="md" valign="top">(&nbsp;</td>
      <td class="md" nowrap="nowrap" valign="top">const char *&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>filename</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap"><a class="el"
 href="http://flac.sourceforge.net/api/structFLAC____StreamMetadata.html">FLAC__StreamMetadata</a>
**&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>picture</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap"><a class="el"
 href="http://flac.sourceforge.net/api/group__flac__format.html#ga114">FLAC__StreamMetadata_Picture_Type</a>&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>type</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">const char *&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>mime_type</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">const FLAC__byte *&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>description</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">unsigned&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>max_width</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">unsigned&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>max_height</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">unsigned&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>max_depth</em>, </td>
    </tr>
    <tr>
      <td class="md" align="right" nowrap="nowrap"><br>
      </td>
      <td class="md"><br>
      </td>
      <td class="md" nowrap="nowrap">unsigned&nbsp;</td>
      <td class="mdname" nowrap="nowrap"> <em>max_colors</em></td>
    </tr>
    <tr>
      <td class="md"><br>
      </td>
      <td class="md">)&nbsp;</td>
    </tr>
  </tbody>
</table>
<br>
but this function seems to return only the last one...<br>
<br>
How to get all the pictures?<br>
<br>
Thanks in advance,<br>
Regards,<br>
Jerome<br>
<br>
</body>
</html>