]> git.pld-linux.org Git - packages/dcraw.git/blame - dcraw.1
- updated to 2005/09/25.
[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.\"
04f33990 12.TH dcraw 1 "September 25, 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
04f33990
PS
55.B -V
56Use the older VNG interpolation. Faster than the default AHD
57algorithm, but more prone to zipper artifacts.
58.TP
ab7a4e6a 59.B -q
04f33990
PS
60Use bilinear interpolation. Much faster than
61.BR -V .
ab7a4e6a 62.TP
63.B -h
64Half-size the output image. Instead of interpolating, reduce
65each 2x2 block of sensors to one pixel. Much faster than
66.BR -q .
67.TP
dd32caf6 68.B -f
6e043b5b
PS
69Interpolate RGB as four colors. This blurs the image a little,
70but it eliminates false 2x2 mesh patterns.
ab7a4e6a 71.TP
04f33990
PS
72.B -B sigma_domain sigma_range
73Use a bilateral filter to smooth noise while preserving edges.
74.B sigma_domain
75is in units of pixels, while
76.B sigma_range
77is in units of CIELab colorspace.
78Try
79.B -B 1 2
80or
81.B -B 2 4
82to start.
83.TP
ab7a4e6a 84.B -a
85Automatic color balance. The default is to use a fixed
86color balance based on a white card photographed in sunlight.
87.TP
88.B -w
89Use the color balance specified by the camera.
90If this can't be found,
91.B dcraw
92prints a warning and reverts to the default.
93.TP
94.B -r red_mul -l blue_mul
dd32caf6 95Further adjust the color balance by multiplying the red and
04f33990 96blue output channels by these values. Both default to 1.0.
dd32caf6
JB
97.TP
98.B -b brightness
99Change the output brightness. Default is 1.0.
100.TP
6e043b5b
PS
101.B -k black
102Change the black point. Default depends on the camera.
103.TP
dd32caf6
JB
104.B -n
105By default,
106.B dcraw
107clips all colors to prevent pink hues in the highlights.
108Combine this option with
109.B -b 0.25
110to leave the image data completely unclipped.
111.TP
112.B -m
113Write raw camera colors to the output file. By default,
114.B dcraw
115converts to sRGB colorspace.
116.TP
6e043b5b
PS
117.B -j
118For Fuji\ Super\ CCD cameras, show the image tilted 45 degrees
119so that each output pixel corresponds to one raw pixel.
120.TP
dd32caf6 121.B -s
6e043b5b
PS
122For Fuji\ Super\ CCD\ SR cameras, use the secondary sensors, in
123effect underexposing the image by four stops to reveal detail
124in the highlights.
125.TP
126.B ""
127For all other cameras,
128.B -j
129and
dd32caf6 130.B -s
6e043b5b 131are silently ignored.
dd32caf6
JB
132.TP
133.B -t [0-7]
134Flip the output image. The most common flips are 5
135(90 degrees CCW) and 6 (90 degrees clockwise). By default,
136dcraw tries to use the flip specified by the camera.
137.RB \^" -t\ 0 \^"
138forces
139.B dcraw
140not to flip images.
ab7a4e6a 141.TP
142.B -2
dd32caf6
JB
143Write eight bits per color value with a 99th-percentile white
144point and the standard 0.45 gamma curve. Double the height if
145necessary to correct the aspect ratio. This is the default.
ab7a4e6a 146.TP
147.B -4
dd32caf6
JB
148Write sixteen bits per color value. Output is linear with
149input -- no white point, no gamma, same aspect ratio.
ab7a4e6a 150.TP
151.B -3
152Same image as
153.BR -4 ,
154written in Adobe PhotoShop format. File extension is ".psd".
155.SH "SEE ALSO"
6e043b5b
PS
156.BR ppm (5),
157.BR ppm2tiff (1),
158.BR pnmtotiff (1),
159.BR pnmtopng (1),
160.BR gphoto2 (1),
161.BR djpeg (1)
ab7a4e6a 162.SH BUGS
163The
164.B -w
165option does not work with many cameras.
166.P
167No attempt is made to save camera settings or thumbnail images.
168.P
6e043b5b 169The author stubbornly refuses to add more output formats.
ab7a4e6a 170.P
171Don't expect
172.B dcraw
173to produce the same images as software provided by the camera
174vendor. Sometimes
175.B dcraw
176gives better results!
ab7a4e6a 177.SH AUTHOR
178Written by David Coffin, dcoffin a cybercom o net
This page took 0.076973 seconds and 4 git commands to generate.