capture

package
v0.0.0-...-916fc33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScreenShot

type ScreenShot struct{}

Screenshot is the screenshot handler

func (*ScreenShot) GetAllScreenshots

func (s *ScreenShot) GetAllScreenshots(
	ctx context.Context,
	screen int,
	saveDir string,
	delayBetweenShots time.Duration,
	nFrames int,
	width uint,
) error

GetAllScreenshots takes a series of nFrame screenshots with a delay between shots given by delayBetweenShots and saves it to saveDir.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL