yeqown / go-qrcode

To help gophers generate QR Codes with customized styles, such as color, block size, block shape, and icon.
MIT License
567 stars 87 forks source link

[BUG] Transparent background #99

Closed EhabSalah closed 7 months ago

EhabSalah commented 10 months ago

Describe the bug standard.WithBgTransparent() doesn't set the background as transparent!

To Reproduce customWriter := &customWriteCloser{} standard.NewWithWriter( customWriter, standard.WithBgTransparent(), )

Expected behavior Black foreground with transparent background image Screenshots

image
localpurpose commented 10 months ago

set the .png extension bro and share full code pls

yeqown commented 10 months ago

@EhabSalah Could you provide the minimal code sample that reproduces the bug? As the @localpurpose said are you using PNG format to output?