bitmap to csv works