2025-03-14 21:59:59 -06:00
|
|
|
# rpicam-jpeg
|
|
|
|
|
|
|
|
|
|
> Capture and store a JPEG image using a Raspberry Pi camera.
|
|
|
|
|
> More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-jpeg>.
|
|
|
|
|
|
|
|
|
|
- Capture an image and name the file:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture an image with set dimensions:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}} --width {{1920}} --height {{1080}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Capture an image with an exposure of 20 seconds and a gain of 150%:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`rpicam-jpeg {{[-o|--output]}} {{path/to/file.jpg}} --shutter 20000 --gain 1.5`
|