FLAC__StreamMetadata_Picture

FLAC PICTURE structure. (See the <A HREF="../format.html#metadata_block_picture">format specification</A> for the full description of each field.)

Members

Variables

colors
FLAC__uint32 colors;

< Picture's color depth in bits-per-pixel.

data
FLAC__byte* data;

< Length of binary picture data in bytes.

data_length
FLAC__uint32 data_length;

< For indexed palettes (like GIF), picture's number of colors (the number of palette entries), or \c 0 for non-indexed (i.e. 2^depth).

depth
FLAC__uint32 depth;

< Picture's height in pixels.

description
FLAC__byte* description;

< Picture data's MIME type, in ASCII printable characters 0x20-0x7e, NUL terminated. For best compatibility with players, use picture data of MIME type \c image/jpeg or \c image/png. 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.

height
FLAC__uint32 height;

< Picture's width in pixels.

mime_type
char* mime_type;

< The kind of picture stored.

type
FLAC__StreamMetadata_Picture_Type type;
Undocumented in source.
width
FLAC__uint32 width;

< 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.

Meta