Documentation
¶
Index ¶
- func CloneToRGBA(img image.Image) *image.RGBA
- func EncodePNG(img image.Image) ([]byte, error)
- func IsSupportedFormat(ext string) bool
- func LoadFromBytes(data []byte) (image.Image, error)
- func LoadFromReader(r io.Reader) (image.Image, error)
- func LogoSize(qrPixelSize int, ratio float64) int
- func OverlayLogo(qrImage, logoImg image.Image, _ int) *image.RGBA
- func ResizeLogo(img image.Image, qrModules int, ratio float64) *image.RGBA
- func ResizeLogoToPixels(img image.Image, width, height int) *image.RGBA
- func SupportedFormats() []string
- func TintLogo(img image.Image, tint color.Color) *image.RGBA
- func Validate(path string) error
- type Processor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedFormat ¶
func SupportedFormats ¶
func SupportedFormats() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.