Archive for the 'Photography' Category

August 27, 2006

The problem with RAW is…

I’m a complete amateur to DSLR photography. But I’m keen to learn, and so I’ve been trying to set myself tasks for learning bits and pieces of new information over time. Over the past week, I’ve been trying to find out what RAW is, and how I can create a decent workflow using it. This post is more of a reminder for me, but I hope that some other people can find it useful as well.

So, what is RAW?

Simply put, a RAW photograph allows you to store the unaltered, “raw” output of the sensor of the camera. When I first got the EOS-350D, like a lot of people I mainly ignored the fact that I could shoot in RAW. I didn’t see the point; mainly I justified this by saying “ooh, I can get 650 photos on the memory card if I shoot with JPEG!”

What’s the difference? Well, when shooting with JPEG, your camera will take the sensor output, apply the white balance to the image and then encode the photo using the JPEG compression algorithm. The critical thing to note is that this process is irreversible, and makes further post-processing more difficult down the road.

When shooting RAW, the white balance information is stored in the file, but not applied to the image itself. So, if you shoot with auto white-balance and decide down the line that you should have applied a daylight setting instead, this isn’t a problem.

People that know me might know that I can get really very obsessive about having things like photographs organised, whilst still retaining all of the data that was embedded with the image. I find it very difficult to even throw away bad photos just in case I do lose something. So clearly, I’m going to want to shoot RAW - just in case.

At this point, I ran into a few obstacles. Firstly, there is no set standard for RAW images (more on this later). Instead, the manufacturers all have their own different versions of what they deem to be “raw”. Since I own an EOS-350D, the raw of choice is the CR2 file, so I’m only going to talk about this from now on. Also, the CR2 format is closed but has been reverse engineered to a point.

Secondly, I need to organise my photos. Up until this point, I’d been using the Canon ZoomBrowser software to retrieve my images from the camera and store them locally. This stores the pictures in folder such as 2006_08_02. I have a big problem remembering dates, so clearly I need to be able to re-organise into descriptive names as well as retaining some sort of chronological order.

After some debating, I eventually created a list of objectives.

  • Find (or write) a piece of software which could be used to grab all of the photos off of a memory card reader. Basically scan it for JPEGs and Canon’s CR2 RAW format.
  • Find a program that’s actually capable of organising photos in a sensible fashion and something that I find easy to use.
  • Use some mythical beast to manipulate the CR2’s and export them as JPEGs.
  • Eventually find some way of integrating the whole lot into WordPress in a very easy and doable fashion.

At this point, I had a big decision to make: Linux, or Windows?

As you all know, I think Linux is amazing. There are some very good tools out there for organising photos and dealing with RAW. For completeness and future reference, I’ve got a small list.

  • dcraw: a command line utility for converting pretty much every RAW format under the sun.
  • ufraw: a GIMP plugin centred designed to utilize dcraw for importing and post-processing RAW files.
  • F-Spot: a nice Mono GTK application for organising photos by tags, similar to Photoshop Elements.
  • exiftool: a Perl module for extracting EXIF/XMP/etc information from photos.

The problem is, they just don’t fit together in a way that I’m comfortable with. Everything takes absolutely ages, and when I have 3,000 photos waiting to be collected together and organised, time is of the essence. So, unfortunately, Linux is out for the time being.

This (obviously) leaves me with Windows. Interestingly enough, objective 3 is by far the easiest decision. Photoshop CS2 with the Camera Raw plugin absolutely rocks. It’s comprehensive enough so that I can alter the stuff that I want to play with, but not so complex that it makes me bang my head off of the desk.

After a couple of days of searching, I found Picasa for objective 2. It’s an amazing application with a lot of potential, and naturally it’s straight from the guys at Google. I can set it up to sit there and watch the My Pictures folder, and since it supports a variety of RAW formats, an awful lot of time gets saved. Also, since I can organize by folder, I solve the problem of crappy folder names.

The one problem is that whilst it works, Picasa doesn’t seem to apply any sort of colour space to the image, so everything turns out dark. But hopefully this should get better in later versions.
This basically left me with objective 1, since number 4 is going to be solved in a couple of days time. By a complete stroke of genius, I ran across this blog by an author I don’t recognise. He uses both the same camera (and so has the CR2 problem) and uses Picasa for general organisation. There were two posts in particular that caught my eye.

Firstly, this post talks a lot about DNG, the open-specification format for RAW images from Adobe. As the other post is quite detailed, I’ll not talk about it very much. The second post talks about automated download from a memory card. Both of these things pretty much solve my woes with the CR2 images and also a method of grabbing them from the card. Basically:

  • Have a program sitting in the background.
  • When it’s activated, select the folder to scan from and upload to.
  • Filter out CR2 images and process with the Adobe DNG converter.
  • Verify conversion was okay.
  • Copy image to folder by date created timestamp (can’t be bothered with parsing EXIF).
  • Empty the card.

So this is the new project for tomorrow. I’m writing this application in C#, so we’ll see how it goes. My workflow then becomes:

  • Take photos.
  • Grab card out of camera, slap into the machine and hit the big go button.
  • Launch up Picasa, which automagically scans and adds the photos.
  • Remove the crap photos.
  • Post-process if necessary.

Looks like it’s going to be a fun day!

12:28 am | Posted in Computing, Linux, Photography | 6 Comments » | Show comments »

June 11, 2006

Photography and its many distractions

Well, after a long and arduous battle with exams, I’ve finally finished my third year. I don’t really want to comment on the exams – not that they went particularly badly, it’s just I’d rather wait until I get the results. So, instead, I will comment on the various things that I’ve been doing inbetween.

The first, and by far most exciting was my 21st birthday. This has been quite amazing, and my utter thanks to everyone that got me gifts or just said happy birthday – it’s something I’ll remember for quite some time. My main present was the brilliant Canon Digital Rebel XT, otherwise known as the EOS 350D.

Some explanation may be required. My dad in his early years was a professional photographer for Land Rover. He moved onto do video work, and similarly I share his passion for video and photography in general. I bought myself a happy–snapper Sony camera at the beginning of the first year, but up until this point was somewhat underwhelmed, since I wanted more control with how exactly I wanted the image to be taken.

So, I now have a Digital SLR camera, which is quite frankly an amazing piece of technology. For those that are interested in getting a DSLR camera, I really have to suggest the 350D. I found it a breeze to get into, and it’s extremely easy to use and get to grips with. The build, whilst a little plastic for my liking, is very solid. I highly suggest you get the lens kit – you get a 18–55mm EF–S lens which provides pretty good quality despite the plastic exterior. It’s not brilliant, but for a budding amateur like myself, it’s a good start.

Unfortunately the 18–55mm really doesn’t have enough reach for my liking. I went out earlier in the week with Mark to take some snaps of the nature reserve on campus, and while we were there I spotted a number of shots that really needed a telephoto lens. This is where things start to get tricky, because when you’re on a limited budget like me, lenses aren’t generally an option.

However, I decided it was worth investing in. I spent the majority of the day researching various lenses, reading the EOS FAQ (which is an excellent introductory FAQ for beginners) and eventually came to the conclusion that Canon didn’t make any decent enough lenses for the prices they offered. I really, really wanted the 75–300mm USM IS lens, but at £360 it was just far too much to pay. In the end, I decided to get the Sigma 70–300mm APO Macro DG. According to all of the reviews I’ve read, it’s a decent lens for a bargain price (£165) so eventually I decided to take the plunge. That should turn up on Tuesday.

So, for the time being, I won’t be buying anything else for the camera. I should have everything I need for the time being, although I would absolutely love a Canon L–series lens. However, that’s way off in the future as far as I’m concerned. Anyway, with all of this photography lark, I’d really like to get the website up and running so that I can host my images nicely. So there’s that to work on tomorrow, and then we’ll see what happens.

That’s far too much for tonight, I feel, so I’ll sign off for now. Toodle pip.

10:15 pm | Posted in Maths, Photography, Randomness, Warwick Blogs | 3 Comments » | Show comments »