Take snapshot with ipcamera module