Archive for the 'Computing' Category

December 6, 2006

Photos are go!

Well - finally - I’ve found the sort of software that I’ve been pining for the past two months. Basically, I wanted the ability to post normally, but also post photoblog style images every so often, and I’d pretty much given up all hope of finding anything to suit this.

However, whilst I was browsing the WordPress Codex yesterday, I found a brilliant plugin - Yet Another Photoblog - by Johannes Jarolim. It ties together everything that I want - automatic thumbnail generation, a simple interface, EXIF parsing, and allows me to write a little comment about the photos that I’m taking.

So, last night, with the aid of the amazing A List Apart tutorial on creating CSS drop-shadows, I got the image displaying nicely, and then added Litebox 1.0 to get a nice image display. The next step is to get the EXIF information displaying the way I want it. But for the time being, I’m going to let this go. I hope you all like it - please leave a comment and let me know what you think!

4:09 pm | Posted in Photography, Site Development, XHTML/CSS | 1 Comment » | Show comment »

December 2, 2006

More on RAW

Well, obviously somebody out there is actually reading these entries, as there’s been a few questions as to how I manage my workflow with RAW photos.

My grand plan outlined in the previous entry never really materialized for reasons of time. However, I do have a fairly stable workflow set up now with my RAW photos, so I thought I’d at least try to document that here, in case anybody else was interested in the slightest.

Read More »
Continue reading “More on RAW”…

11:27 pm | Posted in Computing, Photography, Site Development | No Comments »

October 28, 2006

Absent again

I’m pretty hopeless as a blogger. It seems that my entire blogging experience comes down to massive bursts of posts for about three days when I need some form of procrastination, and then nothing for weeks on end.

For once, I actually have quite a lot of stuff to blog about, apart from excruciatingly boring things like mathematics. However, I need to figure out what I’m going to do about hosting some photos properly before that post, so it might take a little while.

However, I’m going out for drinkies later on with a couple of maths friends, so this should be an interesting evening. Huzzah!

4:06 pm | Posted in Site Development | 3 Comments » | Show comments »

September 21, 2006

A distinct lack of activity

I’m sorry for not updating the blog over the past few days, but it’s been rather a busy week so far. I’ve been working on Monday and Tuesday; yesterday was spent meeting some people in the Maths department and finalizing details for some work there. However, today, I’ve found some time as I finished work early (was back at 2:30pm). The downside is, I’m completely knackered since I was up at 6am. Anyway, I plan on doing some updates today with my recently acquired time, so check back later for more.

The trials and tribulations continue with the car insurance. People that know me may know that I’m selling the car, as I’m moving back into campus accommodation and it will therefore be unnecessary. As far as I can see, I’m pretty much locked into paying for the full term, or gritting my teeth and coughing up the extortionate amount of money they want. However, this month is all paid up for, so I’m going to take a few days to sit back and consider things before I move any further. Certain other things have happened which may mean that I have access to a car anyway, so the insurance may not go to waste if I decide to keep it - really, it all depends on the price.

Anyway, enough ranting for now. My updates later will hopefully consist of setting up the gallery software for WordPress and fixing some minor CSS issues. By that point in time I may well be clinically dead from sleep deprivation, so I think I’ll probably end up leaving it at that for the time being.

In other news, being a big fan of Top Gear I was extremely saddened to hear about Richard Hammond’s accident. I really can’t imagine embedding a car into the ground at 250+mph, and frankly, I’m absolutely amazed he survived. Hopefully he’ll be back in time for the next series.

4:34 pm | Posted in Randomness, Ranting, Site Development | 1 Comment » | Show comment »

September 14, 2006

AJAX Search is up

Well, after a bit of fiddling, the AJAX search is now fully operational. I think it works pretty well - it’s certainly quite transparent and saves a lot of room. It hasn’t been fully tested yet please let me know if you run into bugs.
IE had some… interesting rendering issues that need fixing in relation to opacity. For some reason, if you don’t set a background colour then font rendering goes completely crazy and everything looks awful. The moral of this story: IE6 doesn’t like opacity unless everything has a background.

Other than that it has been a pretty busy day. I’ve been up and down to Coventry. Most of the time the journey is fine, but today the M6 decided that it was going to hate me. It took me two hours to travel about 25 miles - average speed, 12.5mph. Usually I can do it in half an hour.

The trip did serve a purpose, and hopefully in a few days time I should have a clearer direction of where the project I’m working on is going. However, for the time being I will simply leave you with a lovely formula to show off my LaTeX renderer, as I really must be going to bed.

11:20 pm | Posted in Maths, Site Development, Whining, XHTML/CSS | 5 Comments » | Show comments »

September 12, 2006

More fun with WordPress

Well it’s been a fun and productive day today on the blog. This morning I mainly concentrated on getting some tabs functional, which you can now see along the top of the screen. I think they fit the theme pretty well, although I did have to move the image over to the left. For those who are interested in purely CSS tabs, I heartily suggest A List Apart’s guide which uses the sliding doors technique to great effect.

Read More »
Continue reading “More fun with WordPress”…

10:57 pm | Posted in Site Development, XHTML/CSS | 4 Comments » | Show comments »

September 11, 2006

AJAX Activity Indicators

I’ve been working on the AJAX for comments here - try it out by clicking on the Show Comments links on the posts with comments. It uses moo(.pack).fx, moo.ajax and prototype.lite - all stunningly good bits of JavaScript, and extremely small to boot.

One of the issues that I have with AJAX is that a lot of websites out there don’t offer any kind of indication as to whether your query is being processed. Usually this is done with the aid of a nice twirly image. If, like me, you suck at graphics design, then you really want to be checking this great website out. It allows you to automagically generate several different styles of progress indicators for your site without having to break out a GIF animator.

Archives are currently broken as I’m working on a better live-archive script. I found that by using three plugins, things were getting cluttered and, in some cases, over 100kb was being used per page. This was far too much, so I’ve decided to simply code my own stuff and cut down on page load-times.

Onwards and upwards, as they say.

4:45 pm | Posted in Computing, Web Development | 2 Comments » | Show comments »

September 10, 2006

Well, this is a first…

As some of you may be aware, I spend quite a lot of time over at SFN, mostly doing administrative work these days. We have a custom-coded LaTeX plugin which I haven’t bothered releasing yet because there doesn’t seem to be much enthusiasm for it, and also because I don’t really consider it to be production-stable.

Well, about a year ago, some guys over at the Math Help Forum absolutely begged me to help them set up LaTeX, and caved in and gave them the code. Since then, I’ve redesigned the mod, making it into a proper vBulletin plugin and utilizing dvipng instead of running through dvips and convert.

Yesterday, I received another e-mail from the Math Help Forum asking me whether I could help them set the plugin up after they upgraded to vBulletin 3.6. I responded, and, being the nice guy that I am, said I could. However, after sending the message, I decided to have a look on their site and see if anything had changed since the last time I visited.

Read More »
Continue reading “Well, this is a first…”…

1:20 pm | Posted in SFN, Whining | 2 Comments » | Show comments »

September 9, 2006

Change is afoot

Hello again! If you’re visiting this page, then you may be wondering “what the hell happened to this place?”

I was sitting down, working on the website code when all of a sudden, I realised that I really, really didn’t want to be doing this any more. “What,” I wonderered to myself, “is the point of having a blog if nothing gets done but fiddling with the code for hours upon end?” So I set out looking for well-established blogging packages that would allow for the maximum amount of customization, as well as being relatively easy to set up and use on a daily basis. Eventually, I settled upon WordPress.

As an initial package, WordPress isn’t mind-blowingly amazing. It’s very slick, but the feature set isn’t particularly wonderful. Then I looked at the WordPress Codex, and immediately found a plethora of different plugins, extensions and all sorts of other lovelyness. I even coded a couple of little extensions myself for the fun of it, as I wasn’t entirely satisfied with LatexRender for my mathematics posts. I’m also using the Super Archives plugin for the live archives (they still need quite a bit of work). The amount of customization one can achieve is really quite staggering.

Importing the posts was actually relatively trivial. Of course, I have (or rather had) two separate sources for my blog posts; Warwick Blogs and my own backend. Warwick Blogs allows export via Movable Type. I did run into a problem with some stray tabs messing around the import engine, but after that all was good. I knocked up an exporter for my news entries and after an hour of fiddling the content was in place.

The theme I’m using has obviously been re-styled. I’m still not totally happy with it, but for the time being I simply can’t be bothered messing around with it any more. It’s based off of the original Kubric theme which comes with WordPress 2. It took a little while to get used to because of the different files used for the theme, but I think that it’s turned out okay.

There’s still a lot of work to do. As you can see, the majority of my posts are still un-tagged. So there’s the matter of leafing through all of those - something I’m not particularly looking forward to. Besides this, I also want to get working on some kind of photographic blogging thing (no, I’m not sure what that means either) and that means I have the joy of organising my photos!

7:19 pm | Posted in Computing, Photography, Web Development | 1 Comment » | Show comment »

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 »