need RGB not coords
Process works fine for many pictures. Fixing 'Allocate'