HomePage
WikiBlog
RecentChanges
LikePages
BackLinks
FindPage

Blog entries

2010-02-16: RSS-Feeds für ricardo.ch-Suchergebnisse

2010-02-15_spam: Disabling public editing

2010-02-15: Show Processes waiting for I/O in Linux

2010-02-13: Sony Vaio P in der Schweiz...

2009-06-17: Wie man plötzlich zum Mörder wird (weil's einfach besser 'rüberkommt!)

2008-05-18: Recreating SSL keys for stunnel, lighttpd and dovecot following the Debian-OpenSSL debacle

2008-02-12: Patch for aoeserver in Kernel 2.6.24

2008-02-07: Usage of open-iscsi on Linux

2008-02-05: Linux and Windows working in harmony with iSCSI

2008-01-19: Linksys PAP2 FXS Port Impedance

< July, 2010 >
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Digital Photography Tools

Convert G3 Canon RAW files with dcraw

To convert RAW files from your G3 cam, get dcraw and compile it:

 # gcc -o dcraw -O3 dcraw.c -lm

Then run it on a RAW file:

 # dcraw -r 0.8 -l 1.1 -g 0.7 CRW_0001.CRW

You will get a file called CRW_1695.ppm. The settings used reduce the red channel by 20% and boost the blue channel by 10% to get the right white balance. The gamma value is as well adjusted to 0.7 (default setting is 0.8), for getting a resonable bright picture. These values are empirical and generally only work with daylight.

Move images from cam to linux box

How would it be if your linux box would move all images taken by your digital still camera to the right place, a directory for each day? I wrote a small script which does exactly that. You may want to try it out, it's free (as in speech) and licensed under the GPL.

The script uses gphoto. If your cam supports the USB Mass Storage protocol, you need to tweak the script a bit (but it's easier anyway than using gphoto).

  • Download 'camera'

Rotate images without loss & optimize in size

My cam (a Canon Powershot G3) saves the rotation of cam in degrees to each photograph taken, but does not rotate them actually.

The script uses jpegtran-mmx to rotate the jpeg files losslessly, and jhead to remove the thumbnails (this saves about 6-10KB on each file), while keeping the EXIF headers. This script is free (as in speech) and licensed under the GPL. It may need some modification to run on your box.

  • Download 'rotate'

Last edited on 21.06.2003 19:49.


Edit | PageHistory | Diff | PageInfo

© Copyright 2004 - 2006 Nicola Fankhauser. All Rights Reserved.