Versions in this module Expand all Collapse all v1 v1.0.2 Oct 27, 2020 v1.0.1 Oct 27, 2020 Changes in this version + func CheckFile(filename string) string + func GetPixels(img image.Image) ([][]Pixel, error) + func HasItem(list []string, items ...string) bool + func MkdirIfNot(dir string) error + func ReadDir(dir string) []string + func ReadDirRecursive(dir string) []string + func SaveJSON(data interface{}, outputname string) + type Image interface + CropAndSave func() func(string) error + CropNumbers func() func() (image.Image, error) + Save func() func(string) error + type ImageMetadata struct + Height int + Width int + type Pixel struct + A int + B int + G int + R int + type TestImage struct + func GetImage(filename string) (*TestImage, error) + func (i *TestImage) Crop(config cutter.Config) (TestImage, error) + func (i *TestImage) CropAndSave(filename string, config cutter.Config) error + func (i *TestImage) DetectStartingPixel() int + func (i *TestImage) RemoveBlank(filename string) error + func (i TestImage) Save(filename string) error