Caputre image from ipc stream