]> git.pld-linux.org Git - packages/dcraw.git/blame - dcraw.1
- updated to 2005/11/06.
[packages/dcraw.git] / dcraw.1
CommitLineData
ab7a4e6a 1.\"
2.\" Man page for dcraw (Raw Photo Decoder)
3.\"
dd32caf6 4.\" Copyright (c) 2005 by David Coffin
ab7a4e6a 5.\"
6.\" You may distribute without restriction.
7.\"
8.\" David Coffin
9.\" dcoffin a cybercom o net
10.\" http://www.cybercom.net/~dcoffin
11.\"
c35ebd7b 12.TH dcraw 1 "September 29, 2005"
ab7a4e6a 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
dd32caf6 21converts raw digital photos to
ab7a4e6a 22.BR ppm (5)
dd32caf6 23format.
ab7a4e6a 24.SH OPTIONS
25.TP
6e043b5b
PS
26.B -v
27Print verbose messages. The default is to print only warnings
28and errors.
29.TP
30.B -z
31Change the access and modification times of a JPEG or raw file to
32when the photo was taken, assuming that the camera clock was set
33to Universal Time.
34.TP
ab7a4e6a 35.B -i
36Identify files but don't decode them.
37Exit status is 0 if
38.B dcraw
39can decode the last file, 1 if it can't.
40.TP
6e043b5b
PS
41.B ""
42.B dcraw
43cannot decode JPEG files!!
44.TP
ab7a4e6a 45.B -c
46Write binary image data to standard output.
dd32caf6 47By default,
ab7a4e6a 48.B dcraw
49creates files with a ".ppm" extension.
50.TP
ab7a4e6a 51.B -d
52Show the raw data as a grayscale image with no interpolation.
53Good for photographing black-and-white documents.
54.TP
c35ebd7b
PS
55.B -q [0-3]
56Set the interpolation quality (default is 3):
57
58.B \t0
59\ \ Bilinear (very fast, low quality)
60.br
61.B \t1
62\ \ Reserved
63.br
64.B \t2
65\ \ Variable Number of Gradients (VNG)
66.br
67.B \t3
68\ \ Adaptive Homogeneity-Directed (AHD)
ab7a4e6a 69.TP
70.B -h
c35ebd7b
PS
71Output a half-size image. Twice as fast as
72.BR -q\ 0 .
ab7a4e6a 73.TP
dd32caf6 74.B -f
6e043b5b
PS
75Interpolate RGB as four colors. This blurs the image a little,
76but it eliminates false 2x2 mesh patterns.
ab7a4e6a 77.TP
04f33990
PS
78.B -B sigma_domain sigma_range
79Use a bilateral filter to smooth noise while preserving edges.
80.B sigma_domain
81is in units of pixels, while
82.B sigma_range
83is in units of CIELab colorspace.
84Try
c35ebd7b 85.B -B\ 2\ 4
04f33990
PS
86to start.
87.TP
ab7a4e6a 88.B -a
89Automatic color balance. The default is to use a fixed
90color balance based on a white card photographed in sunlight.
91.TP
92.B -w
93Use the color balance specified by the camera.
94If this can't be found,
95.B dcraw
96prints a warning and reverts to the default.
97.TP
98.B -r red_mul -l blue_mul
dd32caf6 99Further adjust the color balance by multiplying the red and
04f33990 100blue output channels by these values. Both default to 1.0.
dd32caf6
JB
101.TP
102.B -b brightness
103Change the output brightness. Default is 1.0.
104.TP
6e043b5b 105.B -k black
c35ebd7b 106Set the black point. Default depends on the camera.
6e043b5b 107.TP
dd32caf6
JB
108.B -n
109By default,
110.B dcraw
111clips all colors to prevent pink hues in the highlights.
112Combine this option with
113.B -b 0.25
114to leave the image data completely unclipped.
115.TP
116.B -m
117Write raw camera colors to the output file. By default,
118.B dcraw
119converts to sRGB colorspace.
120.TP
6e043b5b
PS
121.B -j
122For Fuji\ Super\ CCD cameras, show the image tilted 45 degrees
123so that each output pixel corresponds to one raw pixel.
124.TP
dd32caf6 125.B -s
6e043b5b
PS
126For Fuji\ Super\ CCD\ SR cameras, use the secondary sensors, in
127effect underexposing the image by four stops to reveal detail
128in the highlights.
129.TP
130.B ""
131For all other cameras,
132.B -j
133and
dd32caf6 134.B -s
6e043b5b 135are silently ignored.
dd32caf6
JB
136.TP
137.B -t [0-7]
138Flip the output image. The most common flips are 5
139(90 degrees CCW) and 6 (90 degrees clockwise). By default,
140dcraw tries to use the flip specified by the camera.
141.RB \^" -t\ 0 \^"
142forces
143.B dcraw
144not to flip images.
ab7a4e6a 145.TP
146.B -2
dd32caf6
JB
147Write eight bits per color value with a 99th-percentile white
148point and the standard 0.45 gamma curve. Double the height if
149necessary to correct the aspect ratio. This is the default.
ab7a4e6a 150.TP
151.B -4
dd32caf6
JB
152Write sixteen bits per color value. Output is linear with
153input -- no white point, no gamma, same aspect ratio.
ab7a4e6a 154.TP
155.B -3
156Same image as
157.BR -4 ,
158written in Adobe PhotoShop format. File extension is ".psd".
159.SH "SEE ALSO"
6e043b5b
PS
160.BR ppm (5),
161.BR ppm2tiff (1),
162.BR pnmtotiff (1),
163.BR pnmtopng (1),
164.BR gphoto2 (1),
165.BR djpeg (1)
ab7a4e6a 166.SH BUGS
167The
168.B -w
169option does not work with many cameras.
170.P
171No attempt is made to save camera settings or thumbnail images.
172.P
6e043b5b 173The author stubbornly refuses to add more output formats.
ab7a4e6a 174.P
175Don't expect
176.B dcraw
177to produce the same images as software provided by the camera
178vendor. Sometimes
179.B dcraw
180gives better results!
ab7a4e6a 181.SH AUTHOR
182Written by David Coffin, dcoffin a cybercom o net
This page took 0.059744 seconds and 4 git commands to generate.