Browse Source

Trade: improve docs of magnum-imageconverter.

pull/432/head
Vladimír Vondruš 6 years ago
parent
commit
0df0bd58ef
  1. 10
      src/Magnum/Trade/imageconverter.cpp

10
src/Magnum/Trade/imageconverter.cpp

@ -64,7 +64,8 @@ information.
@code{.sh}
magnum-imageconverter [-h|--help] [--importer IMPORTER] [--converter CONVERTER]
[--plugin-dir DIR] [--] input output
[--plugin-dir DIR] [-i|--importer-options key=val,key2=val2,]
[-c|--converter-options key=val,key2=val2,] [--] input output
@endcode
Arguments:
@ -136,10 +137,9 @@ int main(int argc, char** argv) {
.addOption('c', "converter-options").setHelp("converter-options", "configuration options to pass to the converter", "key=val,key2=val2,…")
.setGlobalHelp(R"(Converts images of different formats.
Specifying --importer raw:<format>` will treat the input as a raw
tightly-packed square of pixels in given pixel format. Specifying
--converter raw will save raw imported data instead of using a converter
plugin.
Specifying --importer raw:<format> will treat the input as a raw tightly-packed
square of pixels in given pixel format. Specifying --converter raw will save
raw imported data instead of using a converter plugin.
The -i / --importer-options and -c / --converter-options arguments accept a
comma-separated list of key/value pairs to set in the importer / converter

Loading…
Cancel
Save