screenshot

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPicsDir

func DefaultPicsDir() string

Types

type Screenshot

type Screenshot struct {
	EDPicDir    string
	OutRoot     string
	Aspect      float64
	JpegQuality int
	SubstOrig   bool
	RmOrig      bool
	FID         string
	Cmdr        string
}

func (*Screenshot) Close

func (scrns *Screenshot) Close() error

func (*Screenshot) OnJournalEvent added in v0.6.4

func (scrns *Screenshot) OnJournalEvent(e watched.JounalEvent) (err error)

func (*Screenshot) OnStatusEvent added in v0.6.4

func (scrns *Screenshot) OnStatusEvent(e watched.StatusEvent) error

func (*Screenshot) OutDir

func (scrns *Screenshot) OutDir(t time.Time, sys, body string) string

func (*Screenshot) OutFilePat

func (scrns *Screenshot) OutFilePat(t time.Time, sys, body string) string

func (*Screenshot) ScrShot

func (scrns *Screenshot) ScrShot(name string) (path string)

Jump to

Keyboard shortcuts

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