LinuxCommandLibrary

rpicam-still

TLDR

Capture with different encoding format

$ rpicam-still -e png -o path/to/file.png
copy
Capture a raw image
$ rpicam-still -r -o path/to/file.jpg
copy
Capture with long exposure (100 seconds)
$ rpicam-still -o path/to/file.jpg --shutter 100000
copy

SYNOPSIS

rpicam-still [options]

DESCRIPTION

rpicam-still captures photos with additional format options and features not available in rpicam-jpeg. It supports multiple output formats and raw sensor data capture.
This tool provides more control over image capture than the simpler rpicam-jpeg.

PARAMETERS

-e, --encoding format

Output format (bmp, png, rgb, yuv420)
-r, --raw
Include raw sensor data
-o, --output file
Output file path
--shutter microseconds
Exposure time

CAVEATS

Raw images include DNG data alongside the main image. Some formats produce larger files than JPEG.

HISTORY

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

SEE ALSO

Copied to clipboard