<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pario TechnoBlob &#187; dcraw</title>
	<atom:link href="http://pario.no/tag/dcraw/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 26 Apr 2012 08:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>dcraw examples</title>
		<link>http://pario.no/2007/08/05/dcraw-examples/</link>
		<comments>http://pario.no/2007/08/05/dcraw-examples/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 20:50:17 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Photo etc]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dcraw]]></category>
		<category><![CDATA[NEF]]></category>
		<category><![CDATA[Nikon]]></category>
		<category><![CDATA[tiff]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/08/05/dcraw-eksempler/</guid>
		<description><![CDATA[dcraw is a linux/Windows command line tool. It can convert RAW-files and that does also include Nikons NEF-files. Raw photo decoder "dcraw" v8.73 by Dave Coffin, dcoffin a cybercom o net Usage: dcraw [OPTION]... [FILE]... -v Print verbose messages -c Write image data to standard output -e Extract embedded thumbnail image -i Identify files without [...]]]></description>
			<content:encoded><![CDATA[<p><strong>dcraw</strong> is a linux/Windows command line tool. It can convert RAW-files and that does also include Nikons NEF-files.</p>
<pre>
Raw photo decoder "dcraw" v8.73
by Dave Coffin, dcoffin a cybercom o net

Usage:  dcraw [OPTION]... [FILE]...

-v        Print verbose messages
-c        Write image data to standard output
-e        Extract embedded thumbnail image
-i        Identify files without decoding them
-i -v     Identify files and show metadata
-z        Change file dates to camera timestamp
-w        Use camera white balance, if possible
-a        Average the whole image for white balance
-A <x> Average a grey box for white balance
-r <r> Set custom white balance
-C </r><r>  Correct chromatic aberration
-b <num>  Adjust brightness (default = 1.0)
-n </num><num>  Set threshold for wavelet denoising
-k </num><num>  Set black point
-K <file> Subtract dark frame (16-bit raw PGM)
-H [0-9]  Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)
-t [0-7]  Flip image (0=none, 3=180, 5=90CCW, 6=90CW)
-o [0-5]  Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,XYZ)
-o </file><file> Apply output ICC profile from file
-p </file><file> Apply camera ICC profile from file or "embed"
-d        Document mode (no color, no interpolation)
-D        Document mode without scaling (totally raw)
-j        Don't stretch or rotate raw pixels
-q [0-3]  Set the interpolation quality
-h        Half-size color image (twice as fast as "-q 0")
-f        Interpolate RGGB as four colors
-s [0-99] Select a different raw image from the same file
-4        Write 16-bit linear instead of 8-bit with gamma
-T        Write TIFF instead of PPM
</file></num></r></x></pre>
<p><strong>Create a TIFF file and use the cameras White Balance (WB)</strong></p>
<pre>
dcraw -w -T DSC_8119.NEF</pre>
<p><strong>Create a TIFF file and use the average White Balance (WB) on the picture</strong></p>
<pre>
dcraw -a -T DSC_8119.NEF</pre>
<p><strong>Set the filedate to be the same as the picture date according to the EXIF information</strong></p>
<pre>
dcraw -z filnavn</pre>
<p><strong>Options I often use</strong></p>
<pre>
dcraw.exe -v -w -H 2 -T DSC_4228.NEF</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDgvMDUvZGNyYXctZXhhbXBsZXMvPHdwdGI%2BZGNyYXcgZXhhbXBsZXM8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/08/05/dcraw-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to download pictures from camera and rename them etc</title>
		<link>http://pario.no/2007/03/13/script-to-dowload-pictures-from-camera-and-rename-them-etc/</link>
		<comments>http://pario.no/2007/03/13/script-to-dowload-pictures-from-camera-and-rename-them-etc/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 12:52:50 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Photo etc]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dcraw]]></category>
		<category><![CDATA[EXIF]]></category>
		<category><![CDATA[exifautotran]]></category>
		<category><![CDATA[gimv]]></category>
		<category><![CDATA[gphoto2]]></category>
		<category><![CDATA[JPG]]></category>
		<category><![CDATA[md5sum]]></category>
		<category><![CDATA[NEF]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://hhj.no/wordpress/2007/03/13/script-som-henter-bilder-fra-kamera-osv/</guid>
		<description><![CDATA[1. download photos from camera and sort them by date of day in folders 2. remove possible duplicates if I did not erase camera images since last download 3. convert RAW/NEF images to a usable format All this in one single click! #!/bin/bash # Change this to where to store Photos target=/home/multimedia/Images camera=”USB PTP Class [...]]]></description>
			<content:encoded><![CDATA[<p>1. download photos from camera and sort them by date of day in folders<br />
2. remove possible duplicates if I did not erase camera images since last download<br />
3. convert RAW/NEF images to a usable format</p>
<p>All this in one single click!</p>
<pre>
#!/bin/bash
# Change this to where to store Photos
target=/home/multimedia/Images
camera=”USB PTP Class Camera”
date=$(date –iso-8601)
mkdir -p $target/$date/tmp
cd $target/$date/tmp
# Get all photos from camera
gphoto2 –quiet –camera $camera –port usb: -P
# Do not replace photos that were already uploaded this same day
cp -u $target/$date/tmp/* $target/$date
rm -rf $target/$date/tmp
cd $target/$date
# auto-rotate using exif info
exifautotran *.JPG
# If photos were not erased from camera since last upload, remove duplicates
for i in *.{JPG,NEF}; do
for f in $(find $target -name $i ! -samefile $target/$date/$i); do
if md5sum $f | sed -e “s, .*/, ,” | md5sum –check; then
rm -f $i;
fi
done
done
# decode RAW images if not already done ?
# for i in *.NEF; do if [ ! -e $(basename $i .NEF).ppm ]; then dcraw -w $i; fi; done
# Show them!
gimv -d $target/$date</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMDMvMTMvc2NyaXB0LXRvLWRvd2xvYWQtcGljdHVyZXMtZnJvbS1jYW1lcmEtYW5kLXJlbmFtZS10aGVtLWV0Yy88d3B0Yj5TY3JpcHQgdG8gZG93bmxvYWQgcGljdHVyZXMgZnJvbSBjYW1lcmEgYW5kIHJlbmFtZSB0aGVtIGV0Yzx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/03/13/script-to-dowload-pictures-from-camera-and-rename-them-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

