Move ws image buffer to ws object

Comments for doxygen should start with `/**`, not `/*`.