Alien-FreeImage

 view release on metacpan or  search on metacpan

src/Source/LibRawLite/dcraw/dcraw.1.html  view on Meta::CPAN

<DT><B></B>

<DD>
<B>dcraw</B>

cannot decode JPEG files!!
</DL>
<A NAME="lbAF">&nbsp;</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 &quot;.badpixels&quot;.
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&nbsp;-D&nbsp;-4&nbsp;-j&nbsp;-t&nbsp;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&nbsp;9</B>,

cut out the non-white highlights, and paste them into an image
generated with
<B>-H&nbsp;3</B>.

</DL>
<A NAME="lbAG">&nbsp;</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.
<DL COMPACT>
<DT><B>-w</B>

<DD>
Use the white balance specified by the camera.
If this is not found, print a warning and use another method.
<DT><B>-a</B>

<DD>
Calculate the white balance by averaging the entire image.
<DT><B>-A left top width height</B>

<DD>
Calculate the white balance by averaging a rectangular area.
First do
<B>dcraw&nbsp;-j&nbsp;-t&nbsp;0</B>

and select an area of neutral grey color.
<DT><B>-r mul0 mul1 mul2 mul3</B>



( run in 0.679 second using v1.01-cache-2.11-cpan-62a16548d74 )