UPDATE: Since I’ve written this my friend has produced a Photoshop script to automate this process, see the