Added method write_bitmap_multi.