Re: Feature request:[ 1589647 ] exif support for raw from 300d
[email protected] Mon, 26 Nov 2007 14:08:10 -0500
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Message-ID | <[email protected]> |
I have the same camera and problem... gqview is the best viewer I've tried, so
to add the raw functionality I wanted I just run the following perl script on
a directory of newly transferred crw's. This uses exiftool and jhead to
extract the jpg thumbnails from each crw and copy the exif info from the crw
into the new jpg, then rotate all jpgs in the directory according to their
exif headers. I use the modded rebel 300d and have it set to save
raw+large-fine jpgs, so at the end of the process I have the high-quality
jpgs that are fully tagged, plus the raws in case I want to do any editing or
post-processing. I'll look forward to gqview having built-in support for
ciff, but until then this has served me well.
-Eric
------------------
#!/usr/bin/perl
@filelist = `ls *[cC][rR][wW]`;
foreach $file (@filelist)
{
chomp $file;
print "file = $file\n";
if ($file =~ /crw_(\d+)\.crw/i)
{
$num = $1;
print "File $num is a raw type, extracting jpg...\n";
`exiftool -b -JpgFromRaw $file > img_$num.jpg`;
#`/usr/local/share/Image-ExifTool-5.85/exiftool -TagsFromFile $file
img_$num.jpg`;
`exiftool -TagsFromFile $file img_$num.jpg`;
`rm -f img_$num.jpg_original`;
print "Saved to img_$num.jpg...\n";
print "\n";
}
}
`jhead -autorot *[jJ][pP][gG]`;
------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/