-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
iconBorderWidth Doesn't work #291
Comments
It used to work but after this commit, it doesn't anymore. So revert back to Nuget package 1.3.9 |
Yes, that is the commit from the pull request that I stated... |
Hi @kuenzign , hi @DamienLaw , I refactored the code and added the functionality again. (But in a different manner without using Region.Exclude, which lead to problems on Linux systems in the past.) The new function behaves as follows:
|
What nuget package release will this fix be included in? |
In NuGet version 1.4.2. This was the last issue I planned to resolve before publishing 1.4.2. So it will be publicly available within the next couple hours. |
It's live now. Feel free to check the also new release notes page, to see what has changed in 1.4.2 besides the icon background: https://github.com/codebude/QRCoder/wiki/Release-notes |
It seems that |
Type of issue
[x] Bug
[ ] Question (e.g. about handling/usage)
[ ] Request for new feature/improvement
Expected Behavior
The
iconBorderWidth
parameter is supposed to specify a border to be drawn around an icon inside the QR code.Current Behavior
Currently, no border is drawn around icons.
Possible Solution (optional)
It looks like #245 broke this functionality.
Steps to Reproduce (for bugs)
Create a
QRCode
and call theGetGraphic()
function while passing in a bitmap for the icon and a value greater than 1 foriconBorderWidth
. Notice that the generated graphic does not have a border around the icon.Your Environment
Nuget package 1.4.1
The text was updated successfully, but these errors were encountered: