1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>FLAC: FLAC__StreamMetadata_Picture Struct Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.4.2 -->
7 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Main
Page
</a> |
<a class=
"qindex" href=
"modules.html">Modules
</a> |
<a class=
"qindex" href=
"hierarchy.html">Class
Hierarchy
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Class
List
</a> |
<a class=
"qindex" href=
"dirs.html">Directories
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Class
Members
</a> |
<a class=
"qindex" href=
"globals.html">File
Members
</a></div>
8 <h1>FLAC__StreamMetadata_Picture Struct Reference
<br>
10 [
<a class=
"el" href=
"group__flac__format.html">FLAC/format.h: format components
</a>]
</small>
11 </h1><code>#include
<<a class=
"el" href=
"format_8h-source.html">format.h
</a>></code>
13 <a href=
"structFLAC____StreamMetadata__Picture-members.html">List of all members.
</a><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
14 FLAC PICTURE structure. (See the
<a href=
"../format.html#metadata_block_picture">format specification
</a> for the full description of each field.)
16 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
18 <tr><td colspan=
"2"><br><h2>Public Attributes
</h2></td></tr>
19 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"><a class=
"el" href=
"group__flac__format.html#ga114">FLAC__StreamMetadata_Picture_Type
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo0">type
</a></td></tr>
21 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">char *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo1">mime_type
</a></td></tr>
23 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__byte *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo2">description
</a></td></tr>
25 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__uint32
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo3">width
</a></td></tr>
27 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__uint32
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo4">height
</a></td></tr>
29 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__uint32
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo5">depth
</a></td></tr>
31 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__uint32
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo6">colors
</a></td></tr>
33 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__uint32
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo7">data_length
</a></td></tr>
35 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">FLAC__byte *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo8">data
</a></td></tr>
38 <hr><h2>Member Data Documentation
</h2>
39 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo0" doxytag=
"FLAC__StreamMetadata_Picture::type"></a><p>
40 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
43 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
45 <td class=
"md" nowrap
valign=
"top"><a class=
"el" href=
"group__flac__format.html#ga114">FLAC__StreamMetadata_Picture_Type
</a> <a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo0">FLAC__StreamMetadata_Picture::type
</a> </td>
51 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
59 The kind of picture stored.
</td>
62 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo1" doxytag=
"FLAC__StreamMetadata_Picture::mime_type"></a><p>
63 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
66 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
68 <td class=
"md" nowrap
valign=
"top">char*
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo1">FLAC__StreamMetadata_Picture::mime_type
</a> </td>
74 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
82 Picture data's MIME type, in ASCII printable characters
0x20-
0x7e, NUL terminated. For best compatibility with players, use picture data of MIME type
<code>image/jpeg
</code> or
<code>image/png
</code>. A MIME type of '--
>' is also allowed, in which case the picture data should be a complete URL. In file storage, the MIME type is stored as a
32-bit length followed by the ASCII string with no NUL terminator, but is converted to a plain C string in this structure for convenience.
</td>
85 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo2" doxytag=
"FLAC__StreamMetadata_Picture::description"></a><p>
86 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
89 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
91 <td class=
"md" nowrap
valign=
"top">FLAC__byte*
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo2">FLAC__StreamMetadata_Picture::description
</a> </td>
97 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
105 Picture's description in UTF-
8, NUL terminated. In file storage, the description is stored as a
32-bit length followed by the UTF-
8 string with no NUL terminator, but is converted to a plain C string in this structure for convenience.
</td>
108 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo3" doxytag=
"FLAC__StreamMetadata_Picture::width"></a><p>
109 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
112 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
114 <td class=
"md" nowrap
valign=
"top">FLAC__uint32
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo3">FLAC__StreamMetadata_Picture::width
</a> </td>
120 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
128 Picture's width in pixels.
</td>
131 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo4" doxytag=
"FLAC__StreamMetadata_Picture::height"></a><p>
132 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
135 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
137 <td class=
"md" nowrap
valign=
"top">FLAC__uint32
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo4">FLAC__StreamMetadata_Picture::height
</a> </td>
143 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
151 Picture's height in pixels.
</td>
154 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo5" doxytag=
"FLAC__StreamMetadata_Picture::depth"></a><p>
155 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
158 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
160 <td class=
"md" nowrap
valign=
"top">FLAC__uint32
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo5">FLAC__StreamMetadata_Picture::depth
</a> </td>
166 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
174 Picture's color depth in bits-per-pixel.
</td>
177 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo6" doxytag=
"FLAC__StreamMetadata_Picture::colors"></a><p>
178 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
181 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
183 <td class=
"md" nowrap
valign=
"top">FLAC__uint32
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo6">FLAC__StreamMetadata_Picture::colors
</a> </td>
189 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
197 For indexed palettes (like GIF), picture's number of colors (the number of palette entries), or
<code>0</code> for non-indexed (i.e.
2^depth).
</td>
200 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo7" doxytag=
"FLAC__StreamMetadata_Picture::data_length"></a><p>
201 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
204 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
206 <td class=
"md" nowrap
valign=
"top">FLAC__uint32
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo7">FLAC__StreamMetadata_Picture::data_length
</a> </td>
212 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
220 Length of binary picture data in bytes.
</td>
223 <a class=
"anchor" name=
"FLAC____StreamMetadata__Pictureo8" doxytag=
"FLAC__StreamMetadata_Picture::data"></a><p>
224 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
227 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
229 <td class=
"md" nowrap
valign=
"top">FLAC__byte*
<a class=
"el" href=
"structFLAC____StreamMetadata__Picture.html#FLAC____StreamMetadata__Pictureo8">FLAC__StreamMetadata_Picture::data
</a> </td>
235 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
243 Binary picture data.
</td>
246 <hr>The documentation for this struct was generated from the following file:
<ul>
247 <li>include/FLAC/
<a class=
"el" href=
"format_8h-source.html">format.h
</a></ul>
250 <div class=
"copyright">
251 <!-- @@@ oh so hacky -->
255 Copyright (c)
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007 Josh Coalson
257 <td width=
"1%" align=
"right">
258 <a href=
"http://sourceforge.net"><img src=
"http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width=
"88" height=
"31" border=
"0" alt=
"SourceForge.net Logo" /></a>
263 <!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
264 <!-- Permission is granted to copy, distribute and/or modify this document -->
265 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
266 <!-- or any later version published by the Free Software Foundation; -->
267 <!-- with no invariant sections. -->
268 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->