MCPcopy Create free account
hub / github.com/LibRaw/LibRaw / usage

Function usage

samples/dcraw_emu.cpp:57–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55#endif
56
57void usage(const char *prog)
58{
59 printf("dcraw_emu: almost complete dcraw emulator\n");
60 printf("Usage: %s [OPTION]... [FILE]...\n", prog);
61 printf("-c float-num Set adjust maximum threshold (default 0.75)\n"
62 "-v Verbose: print progress messages (repeated -v will add "
63 "verbosity)\n"
64 "-w Use camera white balance, if possible\n"
65 "-a Average the whole image for white balance\n"
66 "-A <x y w h> Average a grey box for white balance\n"
67 "-r <r g b g> Set custom white balance\n"
68 "+M/-M Use/don't use an embedded color matrix\n"
69 "-C <r b> Correct chromatic aberration\n"
70 "-P <file> Fix the dead pixels listed in this file\n"
71 "-K <file> Subtract dark frame (16-bit raw PGM)\n"
72 "-k <num> Set the darkness level\n"
73 "-S <num> Set the saturation level\n"
74 "-R <num> Set raw processing options to num\n"
75 "-n <num> Set threshold for wavelet denoising\n"
76 "-H [0-9] Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)\n"
77 "-t [0-7] Flip image (0=none, 3=180, 5=90CCW, 6=90CW)\n"
78 "-o [0-8] Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ,ACES,\n"
79 " DCI-P3,Rec2020)\n"
80#ifndef NO_LCMS
81 "-o file Output ICC profile\n"
82 "-p file Camera input profile (use \'embed\' for embedded profile)\n"
83#endif
84 "-j Don't stretch or rotate raw pixels\n"
85 "-W Don't automatically brighten the image\n"
86 "-b <num> Adjust brightness (default = 1.0)\n"
87 "-q N Set the interpolation quality:\n"
88 " 0 - linear, 1 - VNG, 2 - PPG, 3 - AHD, 4 - DCB\n"
89 " 11 - DHT, 12 - AAHD\n"
90 "-h Half-size color image (twice as fast as \"-q 0\")\n"
91 "-f Interpolate RGGB as four colors\n"
92 "-m <num> Apply a 3x3 median filter to R-G and B-G\n"
93 "-s [0..N-1] Select one raw image from input file\n"
94 "-4 Linear 16-bit, same as \"-6 -W -g 1 1\n"
95 "-6 Write 16-bit output\n"
96 "-g pow ts Set gamma curve to gamma pow and toe slope ts (default = "
97 "2.222 4.5)\n"
98 "-T Write TIFF instead of PPM\n"
99 "-G Use green_matching() filter\n"
100 "-B <x y w h> use cropbox\n"
101 "-F Use FILE I/O instead of streambuf API\n"
102 "-Z <suf> Output filename generation rules\n"
103 " .suf => append .suf to input name, keeping existing suffix "
104 "too\n"
105 " suf => replace input filename last extension\n"
106 " - => output to stdout\n"
107 " filename.suf => output to filename.suf\n"
108 "-timing Detailed timing report\n"
109 "-fbdd N 0 - disable FBDD noise reduction (default), 1 - light "
110 "FBDD, 2 - full\n"
111 "-dcbi N Number of extra DCD iterations (default - 0)\n"
112 "-dcbe DCB color enhance\n"
113 "-aexpo <e p> exposure correction\n"
114 "-apentax4shot enables merge of 4-shot pentax files\n"

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected