Snapshot

Capture the newest frame as a still when the shutter fires; the host saves it.

  • Video
  • Since 0.2.0
  • snapshot
  • photo
  • capture

Open in TuneToys

Snapshot as the Patch draws it, at default values: inlets on the left, outlets on the right.

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#

PortDirectionSignalLanes
videoInputVideo1

Parameters#

ParameterLabelRangeDefaultUnitScaleNotes
shutterShutter0 to 10linearRising to 1 takes a picture. Choices: 0 Idle, 1 Fire.
formatFormat0 to 10linearImage 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.

Patch: Camera video output connected to Snapshot video input.
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.
Frame preview: Take a photoFrame “Take a photo” with 4 elements: toggle Format, text heading, screen Picture, trigger Shutter.FormatTAKE A PHOTOscreenShutter
Frame preview (static). Controls show their default values.

Open in TuneToys

  • 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.

Edit this page on GitHub

esc

↑ ↓ move↩ open⌘↩ new tabesc close