Documentation ¶
Index ¶
- func GetPartOfImage(fileName string, section Section, keepSize KeepSize) (*image.RGBA, error)
- func LoadImage(filename string) (image.Image, string, error)
- func SliceImage(imgFile string, tileWidth int, tileHeight int, force bool) ([]image.Image, error)
- func WriteImages(imgs []image.Image, dstDir string) error
- type KeepSize
- type Section
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPartOfImage ¶
GetPartOfImage returns specified Section and Size of image
func SliceImage ¶
SliceImage slices input imgFile into smaller tiles
Types ¶
Click to show internal directories.
Click to hide internal directories.