Hehe, just after I posted this A_SN sent me his version. After I optimized it and plopped it into my benchmark code, it was 1.9% faster! For some reason I get black pixels out, but that's probably some 'late in the night' issue.
If you have 4MB free RAM for the table he uses, use it! My...