[Flac-dev] METADATA_BLOCK_PICTURE question

Josh Coalson xflac at yahoo.com
Mon Jan 8 13:08:11 PST 2007


--- Brian Nickel <brian.nickel at gmail.com> wrote:
> Hi everybody,
> 
> I have a question about the following part of the
> METADATA_BLOCK_PICTURE
> specification. The components: Width, Height, Color Depth, and Colors
> Used don't provide an "unknown" value and seem to assume that the
> program encoding the METADATA_BLOCK will be aware of these components
> of
> the file.
> 
> As these fields seem to just provide "extra" information (I'm
> assuming
> it's there to provide a decoder with information about the
> environment
> in which the pictures were encoded) that is unnecessary for the
> display
> of the images, could a value like 0 or -1 to indicate that the value
> isn't provided?

the width/height/depth can be 0 for unknown (I'll add that to the
docs) but they should be filled in if at all possible because some
devices may have display constraints and have to choose from
multiple pictures one that they can display.

also, if one of width/height/depth is 0, they should all be.

Josh


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Flac-dev mailing list