Versions in this module Expand all Collapse all v0 v0.0.4 May 4, 2022 Changes in this version + func ImageToRGBA(src image.Image) *image.RGBA + func LoadImage(path string) (image.Image, error) + func LoadPNG(path string) (image.Image, error) + func ParseHexColor(x string) color.RGBA + func SaveJPG(path string, im image.Image, quality int) error + func SavePNG(path string, im image.Image) error + type Converter struct + Image image.Image + ImageHeight int + ImageWidth int + MaxZoom int + OriginalImageHeight int + OriginalImageWidth int + TileSize [2]int + func NewConverter() *Converter + func (converter *Converter) Execute(size [2]int, efficient bool, imageQuality int, output string) error + func (converter *Converter) Prepare(imageName string, bgColor string) error + func (converter *Converter) Tile(level int, size [2]int, quadrant [2]int, efficient bool) (image.Image, error)