dcraw - command-line decoder for raw digital photos
decodes raw photos, displays metadata, and extracts thumbnails.
Print verbose messages, not just warnings and errors.
Write decoded images or thumbnails to standard output.
Extract the camera-generated thumbnail, not the raw image.
You'll get either a JPEG or a PPM file, depending on the camera.
Change the access and modification times of an AVI, JPEG or raw
file to when the photo was taken, assuming that the camera clock
was set to Universal Time.
Identify files but don't decode them.
Exit status is 0 if
can decode the last file, 1 if it can't.
cannot decode JPEG files!!
Show the raw data as a grayscale image with no interpolation.
Good for photographing black-and-white documents.
but totally raw (no color scaling).
Output a half-size color image. Twice as fast as
Use high-speed, low-quality bilinear interpolation.
Use Variable Number of Gradients (VNG) interpolation.
Use Adaptive Homogeneity-Directed (AHD) interpolation.
Interpolate RGB as four colors. Use this if the output shows
false 2x2 meshes with VNG or mazes with AHD.
-B sigma_domain sigma_range
Use a bilateral filter to smooth noise while preserving edges.
is in units of pixels, while
is in units of CIELab colorspace.
-B 2 4
writes 8-bit PGM/PPM/PAM with a BT.709 gamma curve and a
99th-percentile white point. If the result is too light or
lets you adjust it. Default is 1.0.
Write 16-bit linear pseudo-PGM/PPM/PAM with no gamma curve,
no white point, and no
Same output as
written in Adobe PhotoShop format.
Set the black point. Default depends on the camera.
Automatic color balance. The default is to use a fixed
color balance based on a white card photographed in sunlight.
Use the color balance specified by the camera.
If this can't be found, print a warning and revert to the default.
-r mul0 mul1 mul2 mul3
Specify your own raw color balance. These multipliers can be cut
and pasted from the output of
Clip all highlights to solid white (default).
Leave highlights unclipped in various shades of pink.
Reconstruct highlights. Low numbers favor whites; high numbers
favor colors. Try
as a compromise. If that's not good enough, do
cut out the non-white highlights, and paste them into an image
Select the output colorspace when the
option is not used:
Raw color (unique to each camera)
sRGB D65 (default)
Adobe 1998 D65
Wide Gamut D65
Kodak ProPhoto D65
-p camera.icm [ -o output.icm ]
Use ICC profiles to define the camera's raw colorspace and the
desired output colorspace (sRGB by default).
Use the ICC profile embedded in the raw photo.
Flip the output image. By default,
applies the flip specified by the camera.
disables all flipping.
For Fuji Super CCD cameras, show the image tilted 45 degrees,
so that each output pixel corresponds to one raw pixel.
For Fuji Super CCD SR cameras, use the secondary sensors, in
effect underexposing the image by four stops to reveal detail
in the highlights.
For all other cameras,
are silently ignored.