Versions in this module Expand all Collapse all v0 v0.0.9 Aug 23, 2023 v0.0.8 Aug 23, 2023 v0.0.7 Aug 23, 2023 v0.0.6 Aug 23, 2023 v0.0.5 Aug 23, 2023 v0.0.4 Aug 22, 2023 v0.0.3 Aug 22, 2023 v0.0.2 Aug 22, 2023 v0.0.1 Aug 22, 2023 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