Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.1.0_(2022-02-28)"
Variables ¶
View Source
var ColorMap = map[string]color.RGBA{}/* 149 elements not displayed */
Functions ¶
Types ¶
type ColorInfo ¶
type ColorInfo struct {
Count int // no. of pixels
Index int // zero-based running index (0,1,2, etc.)
}
todo/check: find a better name - why? why not?
type ImageComposite ¶
type ImageComposite struct {
image.Image // use "composition"
TileWidth, TileHeight int
Count int // optional - not all tiles (full cap(acity) might be used)
}
func ReadImageComposite ¶
func ReadImageComposite(path string, tileSize *image.Point) *ImageComposite
func (*ImageComposite) Max ¶
func (composite *ImageComposite) Max() int
func (*ImageComposite) Tile ¶
func (composite *ImageComposite) Tile(id int) *ImageTile
Click to show internal directories.
Click to hide internal directories.