Capture by membranes or diffusion