File: darktable-cli.pod

package info (click to toggle)
darktable 5.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 65,660 kB
  • sloc: ansic: 367,579; cpp: 102,778; xml: 20,091; lisp: 15,099; sh: 3,771; javascript: 3,264; perl: 1,925; python: 1,551; ruby: 975; makefile: 543; asm: 46; sql: 38; awk: 21
file content (148 lines) | stat: -rw-r--r-- 4,175 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148

=head1 NAME

darktable-cli - a command line darktable variant

=head1 SYNOPSIS

    darktable-cli IMG_1234.{RAW,...} [<xmp file>] <output file> [options] [--core <darktable options>]

Options:

    --width <max width>
    --height <max height>
    --bpp <bpp>
    --hq <0|1|false|true>
    --upscale <0|1|false|true>
    --export_masks <0|1|false|true>
    --style <style name>
    --style-overwrite
    --apply-custom-presets <0|1|false|true>
    --verbose
    --help
    --version

=head1 DESCRIPTION

B<darktable> is a digital photography workflow application for B<Linux>, B<Mac OS X> and several other B<Unices>.
It's described further in L<darktable(1)|darktable(1)>.

B<darktable-cli> is a command line variant to be used to export images
given the raw file and the accompanying xmp file.

=head1 OPTIONS

The user needs to supply an input filename and an output filename.
All other parameters are optional.

=over

=item B<< <input file>  >>

The name of the input file to export.

=item B<< <xmp file>  >>

The optional name of an XMP sidecar file containing the history stack
data to be applied during export.
If this option is not given darktable will search for an XMP file that
belongs to the given input file.

=item B<< <output file>  >>

The name of the output file.
darktable derives the export file format from the file extension.
You can also use all the variables available in B<darktable>'s export module in the output filename.

=item B<< --width <max width>  >>

This optional parameter allows one to limit the width of the exported
image to that number of pixels.

=item B<< --height <max height>  >>

This optional parameter allows one to limit the height of the exported
image to that number of pixels.

=item B<< --bpp <bpp>  >>

An optional parameter to define the bit depth of the exported image;
allowed values depend on the file format.
Currently this option is not yet functional.
If you need to define the bit depth you need to use the following workaround:

    --core --conf plugins/imageio/format/<FORMAT>/bpp=<VALUE>

where B<FORMAT> is the name of the selected output format, for example B<png>.

=item B<< --hq <0|1|true|false>  >>

A flag that defines whether to use high quality resampling during export.
Defaults to true.

=item B<< --upscale <0|1|true|false>  >>

A flag that defines whether to allow upscaling during export.
Defaults to false.

=item B<< --export_masks <0|1|true|false>  >>

A flag that defines whether masks used in the image will be stored as layers in the
exported image (provided the format supports it).
Defaults to false.

=item B<< --style <style name>  >>

Specify the name of a style to be applied during export.  If a style
is specified, the path to the darktable configuration directory must
also be specified (i.e. --core --configdir ~/.config/darktable).
Defaults to no style specified.

=item B<< --style-overwrite  >>

The specified style overwrites the history stack instead of being
appended to it.

=item B<< --apply-custom-presets  >>

With this option you can decide if darktable loads its set of default parameters from
B<data.db> and applies them. Otherwise the defaults that ship with darktable are used.

Set this flag to false in order to run multiple instances.

=item B<< --verbose  >>

Enables verbose output.

=item B<< --core <darktable options>  >>

All command line parameters following B<--core> are passed
to the darktable core and handled as standard parameters.
See L<darktable(1)|darktable(1)> for a detailed description of the options.

=back

=head1 SEE ALSO

L<darktable(1)|darktable(1)>

=head1 AUTHORS

The principal developer of darktable is Johannes Hanika.
The (hopefully) complete list of contributors to the project is:

DREGGNAUTHORS -- don't translate this line!

This man page was written by Richard Levitte E<lt>richard@levitte.orgE<gt>.
Additions were made by Tobias Ellinghaus E<lt>me@houz.orgE<gt>.

=head1 COPYRIGHT AND LICENSE

B<Copyright (C)> 2009-2019 by Authors.

B<darktable> is free software; you can redistribute it and/or modify it
under the terms of the GPL v3 or (at your option) any later version.

=for comment
$Date: 2019-11-27$
$Release: 3.0$