Documentation ¶
Index ¶
- Constants
- func Create(content string, width, height int) (string, error)
- func CreateFile(content, fileName string, width, height int) error
- func CreateImage(content string, width, height int) (image.Image, error)
- func CreateWithLogo(content string, size int, logo []byte, percent int) (string, error)
- func CreateWithLogoImage(content string, size int, logo image.Image, percent int) (string, error)
- func Parse(fileBytes []byte) (string, error)
- func ParseFile(fileName string) (string, error)
Constants ¶
View Source
const DataURISchemePng = "data:image/png;base64,"
DataURISchemePng png
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
CreateFile 生成二维码 文件
func CreateImage ¶
CreateImage 生成二维码
func CreateWithLogo ¶
CreateWithLogo 生成带logo的二维码
func CreateWithLogoImage ¶
CreateWithLogoImage 根据image生成带logo的二维码
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.