Alien-FreeImage
view release on metacpan or search on metacpan
src/Source/LibRawLite/dcraw/dcraw.1.html view on Meta::CPAN
<H2>GENERAL OPTIONS</H2>
<DL COMPACT>
<DT><B>-v</B>
<DD>
Print verbose messages, not just warnings and errors.
<DT><B>-c</B>
<DD>
Write decoded images or thumbnails to standard output.
<DT><B>-e</B>
<DD>
Extract the camera-generated thumbnail, not the raw image.
You'll get either a JPEG or a PPM file, depending on the camera.
<DT><B>-z</B>
<DD>
Change the access and modification times of an AVI, JPEG, TIFF or raw
file to when the photo was taken, assuming that the camera clock
was set to Universal Time.
<DT><B>-i</B>
<DD>
Identify files but don't decode them.
Exit status is 0 if
<B>dcraw</B>
can decode the last file, 1 if it can't.
<B>-i -v</B>
shows metadata.
<DT><B></B>
<DD>
<B>dcraw</B>
cannot decode JPEG files!!
</DL>
<A NAME="lbAF"> </A>
<H2>REPAIR OPTIONS</H2>
<DL COMPACT>
<DT><B>-I</B>
<DD>
Read the raw pixels from standard input in CPU byte order with
no header. Use
<B>dcraw -E -4</B>
to get the raw pixel values.
<DT><B>-P deadpixels.txt</B>
<DD>
Read the dead pixel list from this file instead of ".badpixels".
See
<B>FILES</B>
for a description of the format.
<DT><B>-K darkframe.pgm</B>
<DD>
Subtract a dark frame from the raw data. To generate a
dark frame, shoot a raw photo with no light and do
<B>dcraw -D -4 -j -t 0</B>.
<DT><B>-k darkness</B>
<DD>
When shadows appear foggy, you need to raise the darkness level.
To measure this, apply
<B>pamsumm -mean</B>
to the dark frame generated above.
<DT><B>-S saturation</B>
<DD>
When highlights appear pink, you need to lower the saturation level.
To measure this, take a picture of something shiny and do
<B>dcraw -D -4 -j -c</B>
photo.raw
<B>| pamsumm -max</B>
<DT><B></B>
<DD>
The default darkness and saturation are usually correct.
<DT><B>-n noise_threshold</B>
<DD>
Use wavelets to erase noise while preserving real detail.
The best threshold should be somewhere between 100 and 1000.
<DT><B>-C red_mag blue_mag</B>
<DD>
Enlarge the raw red and blue layers by the given factors,
typically 0.999 to 1.001, to correct chromatic aberration.
<DT><B>-H 0</B>
<DD>
Clip all highlights to solid white (default).
<DT><B>-H 1</B>
<DD>
Leave highlights unclipped in various shades of pink.
<DT><B>-H 2</B>
<DD>
Blend clipped and unclipped values together for a gradual fade
to white.
<DT><B>-H 3+</B>
<DD>
Reconstruct highlights. Low numbers favor whites; high numbers
favor colors. Try
<B>-H 5</B>
as a compromise. If that's not good enough, do
<B>-H 9</B>,
cut out the non-white highlights, and paste them into an image
generated with
<B>-H 3</B>.
</DL>
<A NAME="lbAG"> </A>
<H2>COLOR OPTIONS</H2>
By default,
<B>dcraw</B>
uses a fixed white balance based on a color chart illuminated
with a standard D65 lamp.
( run in 1.007 second using v1.01-cache-2.11-cpan-df04353d9ac )