I am impressed Janus...
(I guess I posted this for some beginners to give it some thought, but well you posted a great example on how to work with pixels and stuff... all I did in my code was getpixel in the line above and if its white do that if not do that....all simple (and slow))