From d3b086bfb13b47121e749e3403e9f481115314e4 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Mon, 25 Sep 2006 05:14:50 +0000 Subject: add documentation for flac's --picture option --- doc/html/documentation.html | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'doc') diff --git a/doc/html/documentation.html b/doc/html/documentation.html index 835ce61a..fc20b805 100644 --- a/doc/html/documentation.html +++ b/doc/html/documentation.html @@ -529,6 +529,47 @@ The cuesheet file must be of the sort written by CDRwin, CDRcue, EAC, et al. + + + + --picture=SPECIFICATION + + + Import a picture and store it in a PICTURE metadata block. More than one --picture command can be specified. The SPECIFICATION is a string whose parts are separated by | (pipe) characters. Some parts may be left empty to invoke default values. The format of SPECIFICATION is

+   [TYPE]|MIME-TYPE|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE

+ TYPE is optional; it is a number from one of:
+ + The default is 3 (front cover). There may only be one picture each of type 1 and 2 in a file.

+ MIME-TYPE is mandatory; for best compatibility with players, use pictures with MIME type image/jpeg or image/png. The MIME type can also be --> to mean that FILE is actually a URL to an image, though this use is discouraged.

+ DESCRIPTION is optional; the default is an empty string.

+ The next part specfies the resolution and color information. If the MIME-TYPE is image/jpeg, image/png, or image/gif, you can usually leave this empty and they can be detected from the file. Otherwise, you must specify the width in pixels, height in pixels, and color depth in bits-per-pixel. If the image has indexed colors you should also specify the number of colors used. When manually specified, it is not checked against the file for accuracy.

+ FILE is the path to the picture file to be imported, or the URL if MIME type is -->

+ For example, the specification |image/jpeg|||../cover.jpg will embed the JPEG file at ../cover.jpg, defaulting to type 3 (front cover) and an empty description. The resolution and color info will be retrieved from the file itself.

+ The specification 4|-->|CD|320x300x24/173|http://blah.blah/backcover.tiff will embed the given URL, with type 4 (back cover), description "CD", and a manually specified resolution of 320x300, 24 bits-per-pixel, and 173 colors. The file at the URL will not be fetched; the URL itself is stored in the PICTURE metadata block. + + -- cgit v1.2.1