Bridge uses a protocol to talk to the linux side that has 1 important characteristic: packets (or chunks of information) are small, because otherwise the sketch could go out of memory
I suggest you to keep things on the linux side: have the sketch to only tell the linux side to take a picture, have the linux side deal with the camera and saving that picture