Question about capture a frame from Viewer sample code


I have a question about the sample code Viewer. It displays synchronized depth and color frame in video stream. But how can I capture one of the frame and save it? Looking forward to answers. Thanks!


I am also looking for the same. Have somebody worked on it?