HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rpicam-still — Capture and store a photo using a Raspberry Pi camera with legacy features missing from `rpicam-jpeg

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandstorephotocliusingcapturerpicam-still
linux

Problem

How to use the rpicam-still command: Capture and store a photo using a Raspberry Pi camera with legacy features missing from rpicam-jpeg. More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-still>.

Solution

rpicam-still — Capture and store a photo using a Raspberry Pi camera with legacy features missing from rpicam-jpeg. More information: <https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-still>.

Capture a photo with different encoding:
rpicam-still {{[-e|--encoding]}} {{bmp|png|rgb|yuv420}} {{[-o|--output]}} {{path/to/file.[bmp|png|rgb|yuv420]}}


Capture a raw image:
rpicam-still {{[-r|--raw]}} {{[-o|--output]}} {{path/to/file.jpg}}


Capture a 100 second exposure image:
rpicam-still {{[-o|--output]}} {{path/to/file.jpg}} --shutter 100000

Code Snippets

Capture a photo with different encoding

rpicam-still {{[-e|--encoding]}} {{bmp|png|rgb|yuv420}} {{[-o|--output]}} {{path/to/file.[bmp|png|rgb|yuv420]}}

Capture a raw image

rpicam-still {{[-r|--raw]}} {{[-o|--output]}} {{path/to/file.jpg}}

Capture a 100 second exposure image

rpicam-still {{[-o|--output]}} {{path/to/file.jpg}} --shutter 100000

Context

tldr-pages: linux/rpicam-still

Revisions (0)

No revisions yet.