Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptBaseDir ¶
func OptBaseDir(dir string) func(*MergeImage)
OptBaseDir is an functional option to set the BaseDir field
func OptGridSize ¶
func OptGridSize(sizeX, sizeY int) func(*MergeImage)
OptGridSize is an functional option to set the GridSize X & Y
func OptGridSizeFromNthImageSize ¶
func OptGridSizeFromNthImageSize(n int) func(*MergeImage)
OptGridSizeFromNthImageSize is an functional option to set the GridSize from the nth image
Types ¶
type MergeImage ¶
type MergeImage struct {
ImageFilePaths []string
ImageCountDX int
ImageCountDY int
BaseDir string
FixedGridSizeX int
FixedGridSizeY int
GridSizeMode gridSizeMode
GridSizeFromNth int
}
MergeImage is the struct that is responsible for merging the given images
func New ¶
func New(paths []string, imageCountDX, imageCountDY int, opts ...func(*MergeImage)) *MergeImage
New returns a new *MergeImage instance
Click to show internal directories.
Click to hide internal directories.

