save the edited bitmap