Discussion:
Canon .CR2 pictures to .jpg, all directory
Harijs Buss
2006-06-04 18:53:30 UTC
Permalink
How do I transform whole directory - hundreds of pictures - in Canon raw .CR2
format to .jpg compressed pictures? I can transform each separate picture
e.g. using Gimp, but it would be too slow and time consuming to do this for
the whole directory (or many of them).

Any advice or link much appreciated.

Harijs
Tony Arnold
2006-06-04 19:14:32 UTC
Permalink
Harijs,
Post by Harijs Buss
How do I transform whole directory - hundreds of pictures - in Canon raw .CR2
format to .jpg compressed pictures? I can transform each separate picture
e.g. using Gimp, but it would be too slow and time consuming to do this for
the whole directory (or many of them).
Any advice or link much appreciated.
You could try the ufraw package. It can be used as a gui to apply
corrections etc to .cr2 files but there is also a ufraw-batch utility
that comes with it.

I think there is a version in the repositories (version 0.5 in
universe). I downloaded and compiled version 0.7 from
http://ufraw.sourceforge.net/

Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
Jussi Kukkonen
2006-06-04 19:20:06 UTC
Permalink
the canonical way to batch process images is Imagemagick. Imagemagick
-convert- supports a wide variety of image formats, but RAW formats
tend to be proprietary...

Doesn't gimp have any automation system?
--
Jussi Kukkonen
Mario Vukelic
2006-06-04 19:49:52 UTC
Permalink
Post by Jussi Kukkonen
Doesn't gimp have any automation system?
AFAIK for more complex tasks, Gimp has script-fu and python-fu. It has
also a batch mode: http://www.gimp.org/tutorials/Basic_Batch/
Brian Puccio
2006-06-04 22:00:57 UTC
Permalink
Post by Harijs Buss
How do I transform whole directory - hundreds of pictures - in
Canon raw .CR2
format to .jpg compressed pictures? I can transform each separate picture
e.g. using Gimp, but it would be too slow and time consuming to do this for
the whole directory (or many of them).
Use ufraw, it has a batch mode and you can feed the batch mode
whatever settings you want (white balance, etc). You can even set up
a nautilus script to do it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060604/d6342304/attachment.pgp>
Gerard Bendotti
2006-06-05 01:45:31 UTC
Permalink
Post by Brian Puccio
Post by Harijs Buss
How do I transform whole directory - hundreds of pictures - in Canon raw .CR2
format to .jpg compressed pictures? I can transform each separate picture
e.g. using Gimp, but it would be too slow and time consuming to do this for
the whole directory (or many of them).
Use ufraw, it has a batch mode and you can feed the batch mode
whatever settings you want (white balance, etc). You can even set up
a nautilus script to do it.
For this type of work I use dcraw, my camera is a 350D and the script I
use is a modified version of the one I found in a list somewhere...

#!/bin/bash

(while [ $# -gt 0 ]; do
dcraw -c -w $1 | ppmtojpeg > `basename $1 CR2`jpg
echo $1
shift
done) | zenity --progress --pulsate --text "Converting RAW files to
Jpeg"

I placed the attached file in the 'MyUsr'/.gnome2/nautilus-scripts
folder so when I select the .CR2 files I want to convert it is a simple
right mouse click Scripts... RAW to jpeg

The main change I made to the script was CR2 instead of cr2.

Now what I want is a chromatic aberration filter (as per Adobe CS2) the
17-85mm lens can have appalling CA and and a "scratch" fixer a la Photo
Elements :)
--
Gerard

http://photos.yahoo.com/ph/gbendotti/
http://www.flickr.com/photos/gbendotti/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RAW to jpeg
Type: application/x-shellscript
Size: 199 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060605/143793f9/attachment.bin>
Loading...