20
20
<!ENTITY manfirstname "<firstname>dann</firstname>">
21
21
<!ENTITY mansurname "<surname>frazier</surname>">
22
22
<!-- Please adjust the date whenever revising the manpage. -->
23
<!ENTITY mandate "<date>2005-02-02</date>">
23
<!ENTITY mandate "<date>2006-11-14</date>">
24
24
<!-- SECTION should be 1-8, maybe with subsection. Other parameters are
25
25
allowed: see man(7), man(1). -->
26
26
<!ENTITY mansection "<manvolnum>1</manvolnum>">
256
<term><option>--set-tag-from-file=field</option></term>
259
Like --set-tag, except the VALUE is a filename whose
260
contents will be read verbatim to set the tag value.
261
Unless --no-utf8-convert is specified, the contents will be
262
converted to UTF-8 from the local charset. This can be used
263
to store a cuesheet in a tag (e.g.
264
--set-tag-from-file="CUESHEET=image.cue"). Do not try to
265
store binary data in tag fields! Use APPLICATION blocks for
247
271
<term><option>--import-tags-from=file</option></term>
250
274
Import tags from a file. Use '-' for stdin. Each
251
275
line should be of the form NAME=VALUE. Multi-line comments
252
276
are currently not supported. Specify --remove-all-tags and/or
253
--no-utf8-convert before --import-tags-from if necessary.
277
--no-utf8-convert before --import-tags-from if necessary. If
278
FILE is '-' (stdin), only one FLAC file may be specified.
314
<term><option>--import-picture-from</option>={<replaceable>FILENAME</replaceable>|<replaceable>SPECIFICATION</replaceable>}</term>
316
<para>Import a picture and store it in a PICTURE metadata block. More than one --import-picture-from command can be specified. Either a filename for the picture file or a more complete specification form can be used. The SPECIFICATION is a string whose parts are separated by | (pipe) characters. Some parts may be left empty to invoke default values. FILENAME is just shorthand for "||||FILENAME". The format of SPECIFICATION is</para>
317
<para>[TYPE]|[MIME-TYPE]|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE</para>
318
<para>TYPE is optional; it is a number from one of:</para>
319
<para>0: Other</para>
320
<para>1: 32x32 pixels 'file icon' (PNG only)</para>
321
<para>2: Other file icon</para>
322
<para>3: Cover (front)</para>
323
<para>4: Cover (back)</para>
324
<para>5: Leaflet page</para>
325
<para>6: Media (e.g. label side of CD)</para>
326
<para>7: Lead artist/lead performer/soloist</para>
327
<para>8: Artist/performer</para>
328
<para>9: Conductor</para>
329
<para>10: Band/Orchestra</para>
330
<para>11: Composer</para>
331
<para>12: Lyricist/text writer</para>
332
<para>13: Recording Location</para>
333
<para>14: During recording</para>
334
<para>15: During performance</para>
335
<para>16: Movie/video screen capture</para>
336
<para>17: A bright coloured fish</para>
337
<para>18: Illustration</para>
338
<para>19: Band/artist logotype</para>
339
<para>20: Publisher/Studio logotype</para>
340
<para>The default is 3 (front cover). There may only be one picture each of type 1 and 2 in a file.</para>
342
<para>MIME-TYPE is optional; if left blank, it will be detected from the file. 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.</para>
344
<para>DESCRIPTION is optional; the default is an empty string.</para>
346
<para>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.</para>
348
<para>FILE is the path to the picture file to be imported, or the URL if MIME type is --></para>
350
<para>For example, "|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.</para>
352
<para>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.</para>
356
<term><option>--export-picture-to=file</option></term>
359
Export PICTURE block to a file. Use '-' for stdout. Only one FLAC file may be specified on the command line. The first PICTURE block will be exported unless --export-picture-to is preceded by a --block-number=# option to specify the exact metadata block to extract. Note that the block number is the one shown by --list.
289
364
<term><option>--add-replay-gain</option></term>
292
367
Calculates the title and album gains/peaks of the given FLAC
293
368
files as if all the files were part of one album, then stores
294
them in the VORBIS_COMMENT block. The tags are the same as
369
them as FLAC tags. The tags are the same as
295
370
those used by vorbisgain. Existing ReplayGain tags will be
296
371
replaced. If only one FLAC file is given, the album and title
297
372
gains will be the same. Since this operation requires two