Snapshot
Capture the newest frame as a still when the shutter fires; the host saves it.
- Video
- Since 0.2.0
- snapshot
- photo
- capture
Snapshot captures the newest frame as a still when the shutter fires.
What it does#
The host saves each capture as the shutter fires (the editor downloads it). Shutter takes the photo and Format chooses the image file type. Saving writes to the device; the Toy never uploads the picture.
When to use it#
Use it for a photobooth, after filters such as Color.
Ports#
| Port | Direction | Signal | Lanes |
|---|---|---|---|
video | Input | Video | 1 |
Parameters#
| Parameter | Label | Range | Default | Unit | Scale | Notes |
|---|---|---|---|---|---|---|
shutter | Shutter | 0 to 1 | 0 | linear | Rising to 1 takes a picture. Choices: 0 Idle, 1 Fire. | |
format | Format | 0 to 1 | 0 | linear | Image format of the capture. Choices: 0 PNG, 1 WebP. |
Shutter (shutter)#
Takes a photo when it goes high.
Format (format)#
Image file type for saved photos; 0 is the default format and 1 the alternative.
Tips#
- It has no output; connect the same source to a Screen to see what you capture.
- Video needs the browser's WebGPU video engine. The Player and exports do not run video yet and report it unavailable. To see a video output, bind a live Screen in the Frame to it.
See also#
Recorder, Camera, Color, Video, Control lanes.
Help patches
Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.
1. Take a photo
beginner Teaches: shutter, format
Capture the camera's newest frame to the gallery.
Connections as text
- Camera video output connected to Snapshot video input
- Snapshots are saved to your device when you choose to save them.
- Nothing is uploaded by the Toy.
Related nodes
- Recorder Record a video stream to a file while Record is on. Audio joins when external audio buses land.
- Camera A camera feed as one video stream. The Toy names a logical camera; the host binds it to a device after the person allows it.
- Color Adjust brightness, contrast, saturation, hue, gamma and warmth, or invert the picture.