Move ws image buffer to ws object