On Thu, 3 Apr 2014 14:27:47 Torsten Bronger wrote:
> Hallöchen!
> 

> Thank you!  As a DT_CLI user, I appreciate this.  How difficult is
> it to add all other options of DT's "export" module to the CLI?
> Since the "export" module parameters cannot be in the XMP file, this
> is highly practical I think.
> 
> Tschö,
> Torsten.

Attached is, hopefully, the final patch in my revamp of the cli. The file 
contains two version of the patch:

1) Compared to the previously posted cli_overwrite patch;
2) Compared to master.

I wouldn't recommend using the file dt_cli_overwrite.patch - other things may 
have happened since I posted the original patch.

The scope of the patch is best illustrated by the output of "--help"

** start
usage: darktable-cli -i|--input <input file>
                     -o|--output <output file>
                    [-b|--bpp <bpp>]
                    [-c|--core <darktable options>]
                    [-H|--height <max height>]
                    [-h|--help]
                    [-I|--intent <intent name>]
                    [-q|--hq <0|1|true|false>]
                    [-O|--overwrite]
                    [-p|--profile <profile name>]
                    [-s|--style <style name>]
                    [-v|--verbose]
                    [-V|--version]
                    [-W|--width <max width>]
                    [-x|--xmp <xmp file>]
                    [<output file options>]

intent name: a|absolute colorimetric|i|image settings|p|perceptual|r|relative 
colorimetric|s|saturation

output file options
  --j2k-dcp-mode <off|c2k24|c2k48|c4k24>
  --j2k-format <jp2|j2k>
  --j2k-quality <value> [5-100]
  --jpeg-quality <value> [5-100]
  --png-bpp <8|16>
  --tiff-bpp <8|16|32>
  --tiff-compression <n|none|d|deflate|p|deflate_predictor|f|
deflate_predictor_float>
  --webp-compression <0|lossy|1|lossless>
  --webp-quality <value> [5-100]
  --webp-hint <d|default|p|picture|P|photo|g|graphic>
**end

Comments? Suggestions? Objections?

Kevin

Attachment: dt_cli_patch.tar.gz
Description: application/compressed-tar

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to