writeablebitmap workings