rpicam-still
To a raw jpeg file rpicam-still -r -o path/to/file.jpg
rpicam-still -r -o path/to/file.jpg