Versions in this module Expand all Collapse all v1 v1.1.2 Nov 13, 2023 v1.1.1 Nov 12, 2023 v1.1.0 Nov 12, 2023 v1.0.6 Nov 12, 2023 v1.0.5 Nov 12, 2023 v1.0.4 Nov 12, 2023 v1.0.3 Nov 12, 2023 v1.0.2 Nov 11, 2023 v1.0.1 Nov 11, 2023 v1.0.0 Nov 11, 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