PentaxForums.com

Go Back PentaxForums.com > Photography > Post Processing, Printing, Software, and Darkroom > Linux Workflow (Ubuntu)

Post Processing, Printing, Software, and Darkroom Discuss photo printing, scanning, editing, and enchancement methods here.

Reply
 
Thread Tools Search this Thread Display Modes
07-06-2009, 12:08 PM   #1
New Member
 
Location: State College, PA
Gallery Photos: 0
Posts: 2
Linux Workflow (Ubuntu)

Hey all you pentax owners,

I'm a linux users and saw some other threads with linux users, so I thought I'd share my workflow, and hope to get some better suggestions from everyone else does for a workflow. I'm completely new to SLR's but spent my honeymoon in Germany learning tricks of the trade. I shoot in manual, PEF raw, and in the last month I've had the camera, I've shot almost 50 gigs of pictures.
  • I have a directory ~/photos I keep all my photos in to separate them from other Pictures and what not.
  • I rsync my camera card to ~/photos, and then clear the card. When prices come down a bit more I might consider buying new cards for every shoot, but for now I delete them.
  • Then I create subdirectories for the event and move the entire day directories into that subdirectory i.e. ~/photos/honeymoon/101_0605
  • and then look at 101_0605, and decide what to rename that folder, i.e. heidelburg
  • Then any pictures I want to "develop" I open in ufraw, and save to ~/photos/developed/category/etc...

Now I'm obviously missing some steps, of most importance metadata. Is there anyway to edit metadata for the pef files, or should I add metadata to the finished jpegs, or would you suggest I take my photos in DNG format?

I'm open to any suggestions, and am curious what all of you are doing for your workflow.

Sam
disasm is offline  
07-06-2009, 04:45 PM   #2
Loyal Site Supporter
 
Location: Prince George, BC
Gallery Photos: 21
Posts: 279
You should get lots of feedback on this. Ubuntu 9.04 user here. My workflow:

- take card out of camera, stick it in PC, transfer to Photos folder.
- once transferred to PC successfully, delete all files from card, put card back in K20D and format in camera.
- files saved under folders by date; this works for me but might not for others; those who need a better memory jog than date may use tags, etc., to help.
- once through on all files done in Geeqie (speedy fork of GQView); tossers deleted without mercy to save disk space.
- RAW conversion done via RawTherapee using neutral profile for those images that need further dissemination; I use PEF format myself but DNGs are fine, too. Only other manipulation I do in RT is cropping.
- any further manipulation such as noise reduction, refocus, etc. done in the Gimp. Only exception are those rare cases where I need 16-bit output. In that case, I do most of the editing in RT and output to 16-bit from there.

Note that a sound backup strategy should be of paramount importance for anyone who cares about their work. You can do a search for a recent backup thread on the forums here. You should be thinking of your RAW files the same way film photogs regard their negatives and positives. Without them, its all gone.
jbinpg is offline  
07-06-2009, 04:51 PM   #3
Site Supporter
 
Location: Oulu
Gallery Photos: 1
Posts: 452
Mine's similar to jbinpg's.

- take the card out and plug it in to the card reader
- create a directory under my photo dir with date, 200x-xx-xx-location/whatever and transfer the photos
- conversion using rawtherapee. I usually add some curve with rt, but any further pp using gimp. Sometimes I can create a profile for a set of pictures in rawtherapee and save time in processing.

I've never needed 16 bit for editing, but I'd like to welcome that option in gimp as well.
pasipasi is offline  
07-06-2009, 06:27 PM   #4
Site Supporter
 
Location: Region 5
Gallery Photos: 3
Posts: 2,274
Originally Posted by disasm View Post
...
Now I'm obviously missing some steps, of most importance metadata. Is there anyway to edit metadata for the pef files, or should I add metadata to the finished jpegs, or would you suggest I take my photos in DNG format?

Sam
I've found exiftool can read and write metadata to PEF files.
heliphoto is offline  
07-06-2009, 07:57 PM   #5
Pentaxian
 
Location: Ireland
Gallery Photos: 30
Posts: 3,335
Originally Posted by jbinpg View Post
My workflow:

- take card out of camera, stick it in PC, transfer to Photos folder.
- once transferred to PC successfully, delete all files from card, put card back in K20D and format in camera.
I never do this. I backup the photos from the local drive to two different network drives, so I have the files in three places total. Then, and only then, I format the memory card.

However, before backing up I go through the images and purge the obviously bad ones. I have no interest in keeping every half-baked shot I take.
rparmar is offline  
07-06-2009, 08:05 PM   #6
Pentaxian
 
Location: Cowtown
Gallery Photos: 0
Posts: 213
Bash scripts

Originally Posted by heliphoto View Post
I've found exiftool can read and write metadata to PEF files.
exiftool is awesome. With bash scripts, you can automatically file and back-up too.
Mr. The Guy is offline  
07-07-2009, 05:41 AM   #7
Senior Member
 
Location: Hungary
Gallery Photos: 0
Posts: 238
Originally Posted by jbinpg View Post
- any further manipulation such as noise reduction, refocus, etc. done in the Gimp.
Do you use some plugin for noise reduction? I haven't found any built-in tool for that.
simico is offline  
07-07-2009, 12:02 PM   #8
Senior Member
 
Location: San Mateo, California
Gallery Photos: 0
Posts: 268
I have a bash batch-conversion script I've been working on for a couple of weeks, in my spare time, to do basic raw conversions.

Basically, I was pretty unhappy with the Linux-based options for batch conversion, in that whatever profile selections I made (e.g. sharpening, noise reduction, etc.) would be applied to *all* files, in wildly disparate situations, sometimes very inappropriately. For example, with no noise reduction, ISO3200 files would look terrible. And with enough NR to make those look decent, the ISO100 pictures would get smeared out. It was too labor-intensive to go and convert all my raw captures by hand.

So I wrote this script that pulls the ISO value out of every file it converts, and uses that to select how much noise reduction and sharpening is applied. That's much better! It's still no substitute for hand-editing the really good "keepers," of course (I use RawTherapee for that), but it's better than blind defaults for everything else.

Anyway, I'll probably work on this script a little more over the coming days, and since I posted this tease I guess I'll have to post what I come up with.



It uses dcraw for raw conversion (and noise reduction) and imagemagick for some post-conversion processing (gamma, contrast, saturation, sharpening), and everything is done in 16-bits-per-channel until the final conversion to JPG. It uses exiv2 to copy exif information from the raw file to the converted JPG.

Pretty handy, if I do say so myself. But I'll have to keep you in suspense a little longer, since it's not yet ready for prime time.
Quicksand is offline  
07-07-2009, 02:57 PM   #9
Junior Member
 
Location: Waikikamukau
Gallery Photos: 0
Posts: 49
Phatch batch processor .

photobatch.stani.be
bobD is offline  
07-07-2009, 03:15 PM   #10
Senior Member
 
Location: San Mateo, California
Gallery Photos: 0
Posts: 268
Originally Posted by bobD View Post
Phatch batch processor .

photobatch.stani.be
Hey, that looks pretty cool for watermarks and such. But it looks like it doesn't handle raw files yet:

https://blueprints.launchpad.net/pha...ec/raw-support

Although it's probably possible to hack it in easily enough, since it's in Python.
Quicksand is offline  
07-09-2009, 10:22 PM   #11
Loyal Member
 
Location: Toronto
Gallery Photos: 3
Posts: 337
I tend to just do a ufraw-batch conversion at 2048x1024 resolution for every pef file. Then delete the jpgs I don't want. At which point I'll do a for i in *.jpg; bash script to rm any pef without an associated jpg file. Then open the file I want to work on with ufraw and tweak it before exporting to the gimp.

Seen me through 10k+ photos on my K10D and another 2k+ on my new K20D, so so far so good. Probably I spend too much time, but hey, it's a hobby for me
jamonation is offline  
07-10-2009, 06:58 AM   #12
Pentaxian
 
Location: Near Montréal, Canada
Gallery Photos: 1
Posts: 1,044
Originally Posted by simico View Post
Do you use some plugin for noise reduction? I haven't found any built-in tool for that.
Wavelet denoise plugin (based on the denoising algorithm of dcraw & UFRaw): Wavelet denoise | GIMP Plugin Registry
RBellavance is offline  
07-10-2009, 07:07 AM   #13
Site Supporter
 
Location: in the 24½th Century!
Gallery Photos: 14
Posts: 438
Originally Posted by Quicksand View Post
[...] Anyway, I'll probably work on this script a little more over the coming days, and since I posted this tease I guess I'll have to post what I come up with.

Yes. Yes, you will.
Duck Dodgers is offline  
07-10-2009, 08:16 AM   #14
Pentaxian
 
Location: Near Montréal, Canada
Gallery Photos: 1
Posts: 1,044
I wrote my own transfer script to bring the files from the SD card to the computer (I configured it as the default action to take when a new card is detected in my card reader).

It copies the files from the card in a directory named "~/photos/yyyy/yyyymmddnn/", where nn is a sequential number starting at 01, useful in case of multiple transfers on the same day.

The files are renamed as they are transfered, to yyyymmddnn-xxx where yyyymmddnn is the same as the directory name, and xxx is a sequential number. I shoot mostly RAW+JPG these days, and both files are kept with the same name, but the relevant extension (i.e. .pef, .dng, or .jpg).

The files are not automatically removed from the card. I manually format each card after I have confirmed the transfer is complete.

The whole hierarchy is hosted on a mirrored filesystem, and I also rsync the whole thing to two other machines.

I browse the images with Gthumb (who cheerfully ignores the RAW files), deleting as I go along. This only deletes the JPG, however, so I have written a "cleanup" script to delete "orphan" RAW files (i.e. those with no corresponding JPG file) periodically.

I have linked the "0" key on the keypad in Gthumb with a script that calls Gimp with either the JPG being viewed or its corresponding RAW version if the latter exists. RAWs are handled by the UFRaw Gimp plugin.

I use Gimp for corrections (rotation, shadows&highlight, b&w conversions, etc), sharpening (Eg-SmartSharpen), and resizing. I have written a Gimp script to automate the resize-for-the-web-sharpen-and-add-a-border operation.

I usually try to keep an "original" JPG version under the initial filename. I use "original" in quotes because this will often be the RAW-converted file, sometimes with cropping or other non-trivial modification. Other files will get suffixes appended to their filename, ex: "2009071001-005-crop-bw-web.jpg" would be a cropped, black & white, "web" version of the image 20090710-005.jpg.

Well, it makes sense to me anyway
RBellavance is offline  
07-10-2009, 12:51 PM   #15
Junior Member
 
Location: Uppsala
Gallery Photos: 0
Posts: 29
I use Digikam for most stuff. Importing, organizing and some editing (curves, wb etc). I still use Gimp for more advanced editing, but Digikam is a great app. It made me start using KDE!

I'm not so sure about the RAW stuff, I mostly shoot JPEGs. I've just gotten started with "real" photography and not ventured into the RAW world yet.
pontusadefjord is offline  
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


All times are GMT -7. The time now is 02:34 AM.