.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "UFRAW 1" .TH UFRAW 1 "2017-02-27" "UFRAW" "" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" UFRaw \- Convert camera RAW images to standard image files. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .IP "ufraw [\s-1OPTIONS\s0] " 4 .IX Item "ufraw [OPTIONS] " .PD 0 .IP "ufraw-batch [\s-1OPTIONS\s0] " 4 .IX Item "ufraw-batch [OPTIONS] " .PD .SH "DESCRIPTION" .IX Header "DESCRIPTION" The Unidentified Flying Raw (UFRaw) is a utility to read and manipulate raw images from digital cameras. It reads raw images using Dave Coffin's raw conversion utility \- DCRaw. UFRaw supports basic color management using Little \s-1CMS,\s0 allowing the user to apply color profiles. For Nikon users UFRaw has the advantage that it can read the camera's tone curves. Even if you don't own a Nikon, you can still apply a Nikon curve to your images. .PP By default 'ufraw' displays a preview window for each raw image allowing the user to tweak the image parameters before saving. If no raw images are given at the command line, UFRaw will display a file chooser dialog. To process the images with no questions asked (and no preview) use the command 'ufraw\-batch'. .PP The input files can be either raw images or UFRaw ID-files. ID-files contain a raw image filename and the parameters for handling the image. .PP UFRaw can also work as a \s-1GIMP\s0 plug-in. To activate it simply open a raw image or a UFRaw ID-file in the \s-1GIMP.\s0 .SH "OPTIONS" .IX Header "OPTIONS" The options supplied on the command-line decide the starting-values for the \s-1GUI.\s0 The \s-1GUI\s0 will then allow you to tweak these values before saving the final image. .SS "General Options" .IX Subsection "General Options" .IP "\-\-version" 4 .IX Item "--version" Display the version of UFRaw and exit. .IP "\-\-help" 4 .IX Item "--help" Display a brief description of how to use UFRaw and exit. .IP "\-\-maximize\-window" 4 .IX Item "--maximize-window" Force window to be maximized. .IP "\-\-silent" 4 .IX Item "--silent" Do not display any messages during conversion. This option is only valid with 'ufraw\-batch'. .IP "\-\-conf=" 4 .IX Item "--conf=" Load all parameters from an ID-file. This feature can be used to tweak the parameters for one file using the \s-1GUI\s0 and using those parameters as the starting point for other images as well. .SS "Image Manipulation Options" .IX Subsection "Image Manipulation Options" These command-line options override settings from the default configuration of UFRaw and from any loaded ID-file. The best way to learn about how these parameters work is to experiment with the \s-1GUI.\s0 All parameters correspond exactly to a setting available in the \s-1GUI.\s0 Not all parameters in the \s-1GUI\s0 have corresponding command-line options. .IP "\-\-wb=camera|auto" 4 .IX Item "--wb=camera|auto" White balance setting. \*(L"camera\*(R" means that UFRaw tries to read the color-temperature and green color component that the camera recorded in the meta-information in the raw-file. This does not work for all cameras. If UFRaw fails to read the white-balance information from the meta-information, it falls back to \*(L"auto\*(R". .Sp \&\*(L"auto\*(R" means that UFRaw calculates the color-temperature and green color component automatically from the image data. .Sp The white-balance can also be set manually with the \-\-temperature and \-\-green options. .IP "\-\-temperature=TEMP" 4 .IX Item "--temperature=TEMP" Manually set the color temperature in Kelvin. .IP "\-\-green=GREEN" 4 .IX Item "--green=GREEN" Green color component. Range 0.20 to 2.50. .IP "\-\-gamma=GAMMA" 4 .IX Item "--gamma=GAMMA" Gamma adjustment of the base curve. Range 0.10 to 1.00. Default 0.45. .IP "\-\-linearity=LINEARITY" 4 .IX Item "--linearity=LINEARITY" Linearity of the base curve. Range 0.00 to 1.00. Default 0.10. .IP "\-\-exposure=auto|EXPOSURE" 4 .IX Item "--exposure=auto|EXPOSURE" Auto exposure or exposure correction in \s-1EV.\s0 Range \-3.00 to 3.00. Default 0. .IP "\-\-restore=clip|lch|hsv" 4 .IX Item "--restore=clip|lch|hsv" Control how highlights are restored when applying negative \s-1EV. \&\s0'clip' restores nothing and is therefore safe from any artifacts. \&'lch' restores in \s-1LCH\s0 space, resulting in restored highlights with soft details (good for clouds). \&'hsv' restores in \s-1HSV\s0 space, resulting in restored highlights with sharp details. The default is 'lch'. .IP "\-\-clip=digital|film" 4 .IX Item "--clip=digital|film" Control how highlights are clipped when applying positive \s-1EV. \&\s0'digital' corresponds to using a linear response, emulating the harsh behaviour of the digital sensor. \&'film' emulate the soft film response. The default is 'digital'. .IP "\-\-saturation=SAT" 4 .IX Item "--saturation=SAT" Adjust the color saturation. Range 0.00 to 8.00. Default 1.0, use 0 for black & white output. .IP "\-\-wavelet\-denoising\-threshold=THRESHOLD" 4 .IX Item "--wavelet-denoising-threshold=THRESHOLD" Wavelet denoising threshold (default 0.0). .IP "\-\-hotpixel\-sensitivity=VALUE" 4 .IX Item "--hotpixel-sensitivity=VALUE" Sensitivity for detecting and shaving hot pixels (default 0.0). .IP "\-\-base\-curve=manual|linear|custom|camera|CURVE" 4 .IX Item "--base-curve=manual|linear|custom|camera|CURVE" Type of tone curve to use. The base curve is a combination of the gamma curve corrected by the curve specified here. The base curve is applied to each channel of the raw data after the white balance and color matrix, but before the \s-1ICC\s0 transformation. .Sp \&\*(L"manual\*(R" means that a manual tone curve is used. This is probably not very useful as a command-line option, since there is no way to specify what the curve should look like. .Sp \&\*(L"linear\*(R" means that no tone curve corrections is performed. .Sp \&\*(L"custom\*(R" means that UFRaw shall use the curve supplied by the camera in the meta-information in the raw-file. .Sp \&\*(L"camera\*(R" means that UFRaw shall use the \*(L"custom\*(R" curve only if the camera was set to use it (according to the meta-information). Otherwise the \*(L"linear\*(R" curve is used. .Sp \&\s-1CURVE\s0 can be the filename (without path) of any curve that was previously loaded in the \s-1GUI.\s0 .Sp The default is \*(L"camera\*(R" if such a curve exists, linear otherwise. .IP "\-\-base\-curve\-file=" 4 .IX Item "--base-curve-file=" Load the base curve from a file. The curve file format can be either UFRaw's \s-1XML\s0 format or Nikon's \s-1NTC/NCV\s0 format. .IP "\-\-curve=manual|linear|CURVE" 4 .IX Item "--curve=manual|linear|CURVE" Type of luminosity curve to use. This curve is applied in \s-1HSV\s0 space and therefore hue and saturation should not be effected by it. .Sp \&\*(L"manual\*(R" means that a manual luminosity curve is used. This is probably not very useful as a command-line option, since there is no way to specify what the curve should look like. .Sp \&\*(L"linear\*(R" means that no luminosity correction is performed. .Sp \&\s-1CURVE\s0 can be the filename (without path) of any curve that was previously loaded in the \s-1GUI.\s0 .Sp The default is \*(L"linear\*(R". .IP "\-\-curve\-file=" 4 .IX Item "--curve-file=" Load the luminosity curve from a file. The curve file format can be either UFRaw's \s-1XML\s0 format or Nikon's \s-1NTC/NCV\s0 format. .IP "\-\-black\-point=auto|BLACK" 4 .IX Item "--black-point=auto|BLACK" Black-point value. Range 0.0 to 1.0, default 0.0. .IP "\-\-interpolation=ahd|vng|four\-color|ppg|bilinear" 4 .IX Item "--interpolation=ahd|vng|four-color|ppg|bilinear" Interpolation algorithm to use when converting from the color filter array to normal \s-1RGB\s0 values. \s-1AHD \s0(Adaptive Homogeneity Directed) interpolation is the best, but also the slowest. \s-1VNG \s0(Variable Number Gradients) is second best and a bit faster. Bilinear is the simplest yet fastest interpolation. .Sp \&\*(L"four-color\*(R" is a variation of the \s-1VNG\s0 interpolation that should only be used if you see strange square patterns in the \s-1VNG\s0 interpolation, See . .Sp \&\s-1AHD\s0 is the default interpolation. \&\s-1AHD\s0 interpolation is not supported for cameras with four color filters, such as the Sony\-828 \s-1RGBE\s0 filter. In such cases, \s-1VNG\s0 interpolation will be used instead. .IP "\-\-color\-smoothing" 4 .IX Item "--color-smoothing" Apply color smoothing. .IP "\-\-grayscale=none|lightness|luminance|value|mixer" 4 .IX Item "--grayscale=none|lightness|luminance|value|mixer" Grayscale conversion algorithm to use (default none). .IP "\-\-grayscale\-mixer=RED,GREEN,BLUE" 4 .IX Item "--grayscale-mixer=RED,GREEN,BLUE" Grayscale mixer values to use (default 1,1,1). .IP "\-\-darkframe=FILE" 4 .IX Item "--darkframe=FILE" Use \s-1FILE\s0 for raw darkframe subtraction. .SS "Output Options" .IX Subsection "Output Options" The options which are related to the final output are: .IP "\-\-shrink=FACTOR" 4 .IX Item "--shrink=FACTOR" Shrink the image by \s-1FACTOR \s0(default 1). .IP "\-\-size=SIZE" 4 .IX Item "--size=SIZE" Downsize max(height,width) to \s-1SIZE.\s0 .IP "\-\-rotate=camera|ANGLE|no" 4 .IX Item "--rotate=camera|ANGLE|no" Rotate image to camera's setting, by \s-1ANGLE\s0 degrees clockwise, or do not rotate the image (default camera) .IP "\-\-crop\-(left|right|top|bottom)=PIXELS" 4 .IX Item "--crop-(left|right|top|bottom)=PIXELS" Crop the output to the given pixel range, relative to the raw image after rotation but before any scaling. .IP "\-\-auto\-crop" 4 .IX Item "--auto-crop" Crop the output automatically. .IP "\-\-aspect\-ratio X:Y" 4 .IX Item "--aspect-ratio X:Y" Set crop area aspect ratio. .IP "\-\-lensfun=none|auto" 4 .IX Item "--lensfun=none|auto" Do not apply lens correction or try to apply correction by auto-detecting the lens (default auto). .IP "\-\-out\-type=ppm|tiff|tif|png|jpeg|jpg|fits" 4 .IX Item "--out-type=ppm|tiff|tif|png|jpeg|jpg|fits" Output file-format to use. The default output file-format is ppm. .IP "\-\-out\-depth=8|16" 4 .IX Item "--out-depth=8|16" Output bit depth per channel. ppm, tiff, png and fits output formats can uses either 8 bits or 16 bits to encode each of the Red, Green and Blue components of each pixel. The jpeg format only allows for 8 bits for each color component. .Sp The raw-files contain more than eight bits of information for each color component. This means that by using an eight bit format, you are actually discarding some of the information supplied by the camera. This is not a problem if you only plan to view the image on screen. For prints you should consider a 16 bits workflow. .IP "\-\-compression=VALUE" 4 .IX Item "--compression=VALUE" \&\s-1JPEG\s0 quality factor. Range 0\-100 with a higher number giving a higher quality at the cost of a larger file. Default 85. The \-\-compression parameter is only relevant if the output file-format is jpeg. .IP "\-\-[no]exif" 4 .IX Item "--[no]exif" Embed exif in output. Default embed exif. Exif is currently embedded in \s-1JPEG, PNG\s0 and \s-1TIFF\s0 output. .IP "\-\-[no]zip" 4 .IX Item "--[no]zip" Enable [disable] \s-1TIFF\s0 zip compression. The zip-compression is loss-less. Default nozip. The \-\-zip parameter is only relevant if the output file-format if tiff8 or tiff16. .IP "\-\-out\-path=PATH" 4 .IX Item "--out-path=PATH" \&\s-1PATH\s0 for output file. In batch mode by default, output-files are placed in the same directory as the input-files. In interactive mode UFRaw tries to \&''guess'' if you have a favorite output directory. .IP "\-\-output=FILE" 4 .IX Item "--output=FILE" Output file name to use. This is only relevant if a single raw-file is supplied on the command-line. . Use '\-' to output to stdout. The default is to name the output-file the same as the input-file but with the extension given by the output file-format. .IP "\-\-overwrite" 4 .IX Item "--overwrite" Overwrite existing files without asking. Default is to ask before deleting an existing file. .IP "\-\-create\-id=no|also|only" 4 .IX Item "--create-id=no|also|only" Control whether UFRaw \s-1ID\s0 files are created for the output image. (Default is no). .IP "\-\-embedded\-image" 4 .IX Item "--embedded-image" Extract the preview image embedded in the raw file instead of converting the raw image. This option is only valid with 'ufraw\-batch'. .SH "Conversion Setting Priority" .IX Header "Conversion Setting Priority" Conversion settings are applied in the following priority order: .IP "1. Command-line options" 2 .IX Item "1. Command-line options" .PD 0 .IP "2. Settings from the configuration file specified with \-\-conf= (ignoring any filenames in the ID-file)." 2 .IX Item "2. Settings from the configuration file specified with --conf= (ignoring any filenames in the ID-file)." .IP "3. Settings from an ID-file supplied as an input-file." 2 .IX Item "3. Settings from an ID-file supplied as an input-file." .ie n .IP "4. Settings from $HOME/.ufrawrc" 2 .el .IP "4. Settings from \f(CW$HOME\fR/.ufrawrc" 2 .IX Item "4. Settings from $HOME/.ufrawrc" .IP "5. UFRaw's default settings." 2 .IX Item "5. UFRaw's default settings." .PD .PP This means that an option supplied on the command-line always takes precedence over all other options. .PP The conversion settings can be changed in the \s-1GUI\s0 before the resulting image is saved. .SH "FILES" .IX Header "FILES" \&\f(CW$HOME\fR/.ufrawrc or \f(CW$HOME\fR/.config/ufrawrc (depending on the system) \- UFRaw resource file containing the user default settings. This is an \s-1XML\s0 file that can be modified with any text editor. Still, it is recommended not to edit this file. This file is updated from the \s-1GUI\s0 when you save an image, or when you explicitly ask to save this file in the 'Options' menu. .PP \&\f(CW$HOME\fR/.ufraw\-gtkrc \- An optional file for setting up a specific \s-1GTK\s0 theme for UFRaw. .SH "ONLINE RESOURCES" .IX Header "ONLINE RESOURCES" .IP "UFRaw homepage: " 4 .IX Item "UFRaw homepage: " .PD 0 .IP "DCRaw homepage: " 4 .IX Item "DCRaw homepage: " .PD .SH "SEE ALSO" .IX Header "SEE ALSO" .IP "The \s-1GIMP\s0 homepage: " 4 .IX Item "The GIMP homepage: "