]> git.pld-linux.org Git - packages/dcraw.git/blame - dcraw.1
- up to 20050422 (thx Dariusz Walat <d_walat at op dot pl>
[packages/dcraw.git] / dcraw.1
CommitLineData
ab7a4e6a 1.\"
2.\" Man page for dcraw (Raw Photo Decoder)
3.\"
4.\" Copyright (c) 2003 by David Coffin
5.\"
6.\" You may distribute without restriction.
7.\"
8.\" David Coffin
9.\" dcoffin a cybercom o net
10.\" http://www.cybercom.net/~dcoffin
11.\"
12.TH dcraw 1 "March 6, 2004"
13.LO 1
14.SH NAME
15dcraw - convert raw digital photos to PPM format
16.SH SYNOPSIS
17.B dcraw
18[\fIOPTION\fR]... [\fIFILE\fR]...
19.SH DESCRIPTION
20.B dcraw
21converts a list of raw digital camera files to
22.BR ppm (5)
23format. Dozens of cameras are supported, and new ones are
24added as they reach the market.
25.SH OPTIONS
26.TP
27.B -i
28Identify files but don't decode them.
29Exit status is 0 if
30.B dcraw
31can decode the last file, 1 if it can't.
32.TP
33.B -c
34Write binary image data to standard output.
35Otherwise,
36.B dcraw
37creates files with a ".ppm" extension.
38.TP
39.B -v
40Print verbose messages. Otherwise,
41.B dcraw
42prints only warnings and errors.
43.TP
44.B -f
45Interpolate RGB as four colors. The default is to assume that
46all green pixels are the same. If even-row green pixels are
47more sensitive to ultraviolet light than odd-row green pixels,
48this difference causes a mesh pattern in the output.
49.B -f
50solves this problem with minimal loss of detail.
51.TP
52.B -d
53Show the raw data as a grayscale image with no interpolation.
54Good for photographing black-and-white documents.
55.TP
56.B -q
57Use simple bilinear interpolation for quick results. The
58default is to use a slow, high-quality adaptive algorithm.
59.TP
60.B -h
61Half-size the output image. Instead of interpolating, reduce
62each 2x2 block of sensors to one pixel. Much faster than
63.BR -q .
64.TP
65.B -g gamma
66Specify the gamma value for eight-bit output. Default is 0.6.
67.TP
68.B -b brightness
69Specify the output brightness. Default is 1.0.
70.TP
71.B -a
72Automatic color balance. The default is to use a fixed
73color balance based on a white card photographed in sunlight.
74.TP
75.B -w
76Use the color balance specified by the camera.
77If this can't be found,
78.B dcraw
79prints a warning and reverts to the default.
80.TP
81.B -r red_mul -l blue_mul
82After all other color adjustments, multiply the red and blue
83channels by these values. Default is 1.0.
84.TP
85.B -2
86Write eight bits per color value with gamma correction and
87automatic brightness adjustment. Double the height
88if necessary to correct the aspect ratio. This is the default.
89.TP
90.B -4
91Write sixteen bits per color value, with no gamma correction,
92no brightness adjustment, and no changes to the aspect ratio.
93.TP
94.B -3
95Same image as
96.BR -4 ,
97written in Adobe PhotoShop format. File extension is ".psd".
98.SH "SEE ALSO"
99ppm(5), ppm2tiff(1), pnmtotiff(1), pnmtopng(1), gphoto2(1).
100.SH BUGS
101The
102.B -w
103option does not work with many cameras.
104.P
105No attempt is made to save camera settings or thumbnail images.
106.P
107Author stubbornly refuses to add more output formats.
108.P
109Don't expect
110.B dcraw
111to produce the same images as software provided by the camera
112vendor. Sometimes
113.B dcraw
114gives better results!
115.SH TIPS
116First raise the brightness if the highlights are too dark,
117then lower the gamma if the lowlights are too dark.
118Use
119.B -q
120or
121.B -h
122until you get it right.
123.P
124To balance the color, do
125.RB \^" dcraw\ -q\ -g\ 1\ -b\ 0.5 \^"
126and select a rectangle of something that you know is white.
127Compute the average R, G, and B values for this area, then
128set red_mul and blue_mul to G/R and G/B.
129.SH AUTHOR
130Written by David Coffin, dcoffin a cybercom o net
This page took 0.083375 seconds and 4 git commands to generate.