Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ActiveDisplayNums = 0
)
View Source
var (
NotFound = errors.New("active display not found")
)
Functions ¶
This section is empty.
Types ¶
type Img ¶
type Img struct {
// contains filtered or unexported fields
}
func CapByDisPlay ¶
CapByDisPlay captures whole region of display Index'th display.
func (Img) Save ¶
Save saves the image to file with the specified filename. The format is determined from the filename extension: "jpg" (or "jpeg"), "png", "gif", "tif" (or "tiff") and "bmp" are supported.
Examples:
// Save the image as PNG. err := Img.Save("out.png") // Save the image as JPEG. err := Img.Save("out.jpg")
Click to show internal directories.
Click to hide internal directories.