Versions in this module Expand all Collapse all v1 v1.0.0 Apr 19, 2026 Changes in this version + 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 struct + func New(source string, sizeRatio float64) *Processor + func (p *Processor) Load() (image.Image, error) + func (p *Processor) SizeRatio() float64 + func (p *Processor) Source() string + func (p *Processor) WithTint(c color.Color) *Processor Other modules containing this package github.com/os-gomod/qrcode/v2