Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borderless QRCode #34

Closed
arajhansa opened this issue Aug 10, 2021 · 4 comments
Closed

Borderless QRCode #34

arajhansa opened this issue Aug 10, 2021 · 4 comments

Comments

@arajhansa
Copy link
Contributor

How can I generate a QRcode jpeg buffer without QRcode having borders?

I want to generate something like this:
sample_qr_code

@yeqown
Copy link
Owner

yeqown commented Aug 11, 2021

it's not optional yet 😄, let me open a feature iteration

@yeqown
Copy link
Owner

yeqown commented Aug 11, 2021

all changes are committed in #35 @arajhansa, sample would like this:

New("source text", WithBorderWidth(0))
// WithBorderWidth accept varargs[0-4+], 0 means default border width, 1 means all use this parameter, 
// 2+ means top/bottom use the firset, left/right use the second
// 4+ means top, right, bottom, left is specifed in the order.

this feature is not version tagged, so you may need to try this on feature branch.

@arajhansa
Copy link
Contributor Author

Looks awesome. Thanks a lot @yeqown

@yeqown
Copy link
Owner

yeqown commented Aug 11, 2021

released in v1.5.8, issue closed

@yeqown yeqown closed this as completed Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants