diff --git a/doc/html/format.html b/doc/html/format.html index f1f00f9e..dc5cc2c7 100644 --- a/doc/html/format.html +++ b/doc/html/format.html @@ -94,6 +94,7 @@ +
  • METADATA_BLOCK_PICTURE
  • @@ -266,6 +267,7 @@
  • SEEKTABLE: This is an optional block for storing seek points. It is possible to seek to any given sample in a FLAC stream without a seek table, but the delay can be unpredictable since the bitrate may vary widely within a stream. By adding seek points to a stream, this delay can be significantly reduced. Each seek point takes 18 bytes, so 1% resolution within a stream adds less than 2k. There can be only one SEEKTABLE in a stream, but the table can have any number of seek points. There is also a special 'placeholder' seekpoint which will be ignored by decoders but which can be used to reserve space for future seek point insertion.
  • VORBIS_COMMENT: This block is for storing a list of human-readable name/value pairs. Values are encoded using UTF-8. It is an implementation of the Vorbis comment specification. This is the only officially supported tagging mechanism in FLAC. There may be only one VORBIS_COMMENT block in a stream. In some external documentation, Vorbis comments are called FLAC tags to lessen confusion.
  • CUESHEET: This block is for storing various information that can be used in a cue sheet. It supports track and index points, compatible with Red Book CD digital audio discs, as well as other CD-DA metadata such as media catalog number and track ISRCs. The CUESHEET block is especially useful for backing up CD-DA discs, but it can be used as a general purpose cueing mechanism for playback.
  • +
  • PICTURE: This block is for storing pictures associated with the file, most commonly cover art from CDs. There may be more than one PICTURE block in a file. The picture format is similar to the APIC frame in ID3v2. The PICTURE block has a type, MIME type, and UTF-8 description like ID3v2, and supports external linking via URL (though this is discouraged). The differences are that there is no uniqueness constraint on the description field, and the MIME type is mandatory. The FLAC PICTURE block also includes the resolution, color depth, and palette size so that the client can search for a suitable picture without having to scan them all.
  • @@ -424,7 +426,10 @@ 5 : CUESHEET
  • - 6-126 : reserved + 6 : PICTURE +
  • +
  • + 7-126 : reserved
  • 127 : invalid, to avoid confusion with a frame sync code @@ -461,7 +466,8 @@ || METADATA_BLOCK_APPLICATION
    || METADATA_BLOCK_SEEKTABLE
    || METADATA_BLOCK_VORBIS_COMMENT
    - || METADATA_BLOCK_CUESHEET + || METADATA_BLOCK_CUESHEET
    + || METADATA_BLOCK_PICTURE The block data must match the block type in the block header. @@ -916,6 +922,132 @@
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + METADATA_BLOCK_PICTURE +
    + <32> + + The picture type according to the ID3v2 APIC frame:
    +
      +
    • 0 - Other
    • +
    • 1 - 32x32 pixels 'file icon' (PNG only)
    • +
    • 2 - Other file icon
    • +
    • 3 - Cover (front)
    • +
    • 4 - Cover (back)
    • +
    • 5 - Leaflet page
    • +
    • 6 - Media (e.g. label side of CD)
    • +
    • 7 - Lead artist/lead performer/soloist
    • +
    • 8 - Artist/performer
    • +
    • 9 - Conductor
    • +
    • 10 - Band/Orchestra
    • +
    • 11 - Composer
    • +
    • 12 - Lyricist/text writer
    • +
    • 13 - Recording Location
    • +
    • 14 - During recording
    • +
    • 15 - During performance
    • +
    • 16 - Movie/video screen capture
    • +
    • 17 - A bright coloured fish
    • +
    • 18 - Illustration
    • +
    • 19 - Band/artist logotype
    • +
    • 20 - Publisher/Studio logotype
    • +
    + Others are reserved and should not be used. There may only be one each of picture type 1 and 2 in a file. +
    + <32> + + The length of the MIME type string in bytes. +
    + <n*8> + + The MIME type string, in printable ASCII characters 0x20-0x7e. The MIME type may also be --> to signify that the data part is a URL of the picture instead of the picture data itself. +
    + <32> + + The length of the description string in bytes. +
    + <n*8> + + The description of the picture, in UTF-8. +
    + <32> + + The width of the picture in pixels. +
    + <32> + + The height of the picture in pixels. +
    + <32> + + The color depth of the picture in bits-per-pixel. +
    + <32> + + For indexed-color pictures (e.g. GIF), the number of colors used, or 0 for non-indexed pictures. +
    + <32> + + The length of the picture data in bytes. +
    + <n*8> + + The binary picture data. +
    +
    +
    + +
    +