2 .\" Man page for dcraw (Raw Photo Decoder)
4 .\" Copyright (c) 2005 by David Coffin
6 .\" You may distribute without restriction.
9 .\" dcoffin a cybercom o net
10 .\" http://www.cybercom.net/~dcoffin
12 .TH dcraw 1 "September 25, 2005"
15 dcraw - convert raw digital photos to PPM format
18 [\fIOPTION\fR]... [\fIFILE\fR]...
21 converts raw digital photos to
27 Print verbose messages. The default is to print only warnings
31 Change the access and modification times of a JPEG or raw file to
32 when the photo was taken, assuming that the camera clock was set
36 Identify files but don't decode them.
39 can decode the last file, 1 if it can't.
43 cannot decode JPEG files!!
46 Write binary image data to standard output.
49 creates files with a ".ppm" extension.
52 Show the raw data as a grayscale image with no interpolation.
53 Good for photographing black-and-white documents.
56 Use the older VNG interpolation. Faster than the default AHD
57 algorithm, but more prone to zipper artifacts.
60 Use bilinear interpolation. Much faster than
64 Half-size the output image. Instead of interpolating, reduce
65 each 2x2 block of sensors to one pixel. Much faster than
69 Interpolate RGB as four colors. This blurs the image a little,
70 but it eliminates false 2x2 mesh patterns.
72 .B -B sigma_domain sigma_range
73 Use a bilateral filter to smooth noise while preserving edges.
75 is in units of pixels, while
77 is in units of CIELab colorspace.
85 Automatic color balance. The default is to use a fixed
86 color balance based on a white card photographed in sunlight.
89 Use the color balance specified by the camera.
90 If this can't be found,
92 prints a warning and reverts to the default.
94 .B -r red_mul -l blue_mul
95 Further adjust the color balance by multiplying the red and
96 blue output channels by these values. Both default to 1.0.
99 Change the output brightness. Default is 1.0.
102 Change the black point. Default depends on the camera.
107 clips all colors to prevent pink hues in the highlights.
108 Combine this option with
110 to leave the image data completely unclipped.
113 Write raw camera colors to the output file. By default,
115 converts to sRGB colorspace.
118 For Fuji\ Super\ CCD cameras, show the image tilted 45 degrees
119 so that each output pixel corresponds to one raw pixel.
122 For Fuji\ Super\ CCD\ SR cameras, use the secondary sensors, in
123 effect underexposing the image by four stops to reveal detail
127 For all other cameras,
131 are silently ignored.
134 Flip the output image. The most common flips are 5
135 (90 degrees CCW) and 6 (90 degrees clockwise). By default,
136 dcraw tries to use the flip specified by the camera.
143 Write eight bits per color value with a 99th-percentile white
144 point and the standard 0.45 gamma curve. Double the height if
145 necessary to correct the aspect ratio. This is the default.
148 Write sixteen bits per color value. Output is linear with
149 input -- no white point, no gamma, same aspect ratio.
154 written in Adobe PhotoShop format. File extension is ".psd".
165 option does not work with many cameras.
167 No attempt is made to save camera settings or thumbnail images.
169 The author stubbornly refuses to add more output formats.
173 to produce the same images as software provided by the camera
176 gives better results!
178 Written by David Coffin, dcoffin a cybercom o net