Colour depth (bits per pixel).
Raw binary image data.
UTF-8 description of the picture.
Image height in pixels.
MIME type string (e.g. "image/jpeg").
Number of colours for indexed images, or 0 for non-indexed formats.
Picture type code as defined by the ID3v2 APIC frame (e.g. 3 = cover art).
Image width in pixels.
Render the picture block back to bytes (big-endian).
A ByteVector containing the serialised picture block payload.
StaticparseParse a FLAC picture block from raw bytes.
The raw picture block payload (big-endian integers).
A FlacPicture populated from the data, or a default instance if the data is too short.
FLAC picture metadata block. All integer fields are big-endian.
Layout: pictureType(4) + mimeTypeLength(4) + mimeType(UTF-8) + descriptionLength(4) + description(UTF-8) + width(4) + height(4) + colorDepth(4) + numColors(4) + dataLength(4) + data