Versions in this module Expand all Collapse all v1 v1.0.6 Aug 18, 2021 v1.0.5 Aug 4, 2021 v1.0.4 Aug 2, 2021 v1.0.3 Jul 23, 2021 v1.0.0 Jul 23, 2021 Changes in this version + func GetImage(src string) (m image.Image, err error) + func GetQRImage(url string, level qrcode.RecoveryLevel, size int) (image.Image, error) + func LoadTextType(path string) (*truetype.Font, error) + func Merge(png draw.Image, merged *os.File) error + func MergeImage(PNG draw.Image, image image.Image, imageBound image.Point) + func NewMerged(path string) (*os.File, error) + func NewPNG(X0 int, Y0 int, X1 int, Y1 int) *image.RGBA + type DImage struct + PNG draw.Image + X int + Y int + type DText struct + A uint8 + B uint8 + G uint8 + PNG draw.Image + R uint8 + Size float64 + Title string + X int + Y int + func NewDrawText(png draw.Image) *DText + func (dtext *DText) MergeText(title string, tf *truetype.Font, x int, y int, rect image.Rectangle) error + func (dtext *DText) SetColor(R uint8, G uint8, B uint8) + type Pt struct + X int + Y int + type Rect struct + X0 int + X1 int + Y0 int + Y1 int