If you're dual booting with linux I believe you could do something like this with script-fu using gimp. I've never done it myself, but it may be an option.

p.s. I think they've ported gimp to windows, but don't quote me on it.