Documentation ¶
Index ¶
- func Create()
- func Image2RGBA(img image.Image) *image.NRGBA
- func NewFont(font_path string) (font *truetype.Font, err error)
- func NewFreeType(font_path string, size_font float64, clr color.Color) (c *freetype.Context, err error)
- func PathExists(path string) bool
- type Img
- func (I *Img) DrawImage(img image.Image, resize_x float32, x, y float32) (err error)
- func (I *Img) DrawImageFile(img_path string, resize_x float32, x, y float32) (err error)
- func (I *Img) DrawText(fontType *truetype.Font, size_font float64, clr color.Color, text string, ...) (err error)
- func (I *Img) OutImage(file_path string) (err error)
- func (I *Img) PackImage() (err error)
- type Qrcode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFreeType ¶
func PathExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.