If anyone has tried the code that I emailed out to to group a few days ago with the images that were attached they will have found that the program takes probably about 30 seconds to process a single picture. Initially I thought this purely because I didn’t program the code to be efficient. However, after Chris’ comment on using other images I tried it out on some other images and it seems that the program will process pictures of a similar resolution and even higher quality in well under a second.
It looks like the source of the problem is with the way Photoshop encoded the pictures when I resized them. For this reason I suggest that everyone open up the pictures in MS Paint and save them as a bitmap.