save the bitmap after edit