Documentation
¶
Overview ¶
Package pisnap provides functions for taking screenshots.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureOrErr ¶
CaptureOrErr captures a screenshot and saves it to the temporary directory.
It returns the filename.
An error is returned if there is a problem storing the file or if the code is run in a browser.
func PalettedImage ¶
func PalettedImage() image.PalettedImage
PalettedImage captures a screenshot and returns it as an image.PalettedImage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.