LinuxCommandLibrary

rpicam-jpeg

TLDR

Capture an image and save to file

$ rpicam-jpeg -o path/to/file.jpg
copy
Capture with set dimensions
$ rpicam-jpeg -o path/to/file.jpg --width 1920 --height 1080
copy
Capture with long exposure and gain
$ rpicam-jpeg -o path/to/file.jpg --shutter 20000 --gain 1.5
copy

SYNOPSIS

rpicam-jpeg [options]

DESCRIPTION

rpicam-jpeg captures and stores JPEG images using a Raspberry Pi camera module. It provides controls for resolution, exposure, and other camera settings.
The tool is optimized for quick JPEG capture with automatic processing.

PARAMETERS

-o, --output file

Output file path
--width pixels
Image width
--height pixels
Image height
--shutter microseconds
Exposure time
--gain value
Sensor gain multiplier

CAVEATS

Requires compatible Raspberry Pi camera module. Long exposure times may introduce noise.

HISTORY

Part of rpicam-apps, the official Raspberry Pi camera application suite using libcamera.

SEE ALSO

Copied to clipboard