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

Feature - QR-Code extension #3410

Closed
Tracked by #3127
njannink opened this issue Feb 7, 2022 · 8 comments · Fixed by #3417
Closed
Tracked by #3127

Feature - QR-Code extension #3410

njannink opened this issue Feb 7, 2022 · 8 comments · Fixed by #3417
Assignees
Labels
Type: Feature ⚙ Request or idea for a new feature.
Milestone

Comments

@njannink
Copy link
Contributor

njannink commented Feb 7, 2022

Component for generating QR codes based on something like

https://github.com/codebude/QRCoder

<Blazorise.QRCode Text="https://blazorise.com" ECCLevel="L" EciMode="Default" DarkColor="Black" LightColor="White" />

or

<Blazorise.QRCode ECCLevel="L" EciMode="Default" DarkColor="Black" LightColor="White">
    https://blazorise.com
</Blazorise.QRCode>
@njannink njannink added the Type: Feature ⚙ Request or idea for a new feature. label Feb 7, 2022
@njannink
Copy link
Contributor Author

njannink commented Feb 7, 2022

@stsrki I will need to implement this for our own project. I'm willing to open-source this to Blazorise if you see this as a good extension. Like I did for the RichTextEdit component

@stsrki
Copy link
Collaborator

stsrki commented Feb 7, 2022

There might be some problems with this approach codebude/QRCoder#361 (comment)

@njannink
Copy link
Contributor Author

njannink commented Feb 7, 2022

My project is still on net5 but we plan to move to net6 in some months. I will have a look if it works or not. I believe system.drawing.common just works in Blazor

@stsrki
Copy link
Collaborator

stsrki commented Feb 7, 2022

How it will work with the HTML elements? I mean, how do you plan to render the bitmap?

@njannink
Copy link
Contributor Author

njannink commented Feb 7, 2022

generate a base64 image and use that as source on the image

@stsrki
Copy link
Collaborator

stsrki commented Feb 7, 2022

Gotcha. That might work.

@njannink
Copy link
Contributor Author

njannink commented Feb 7, 2022

I will create a PR when I have it working for you to have a look and then you can decide to incorporate it or not

@njannink
Copy link
Contributor Author

njannink commented Feb 7, 2022

image

njannink pushed a commit to njannink/Blazorise that referenced this issue Feb 7, 2022
njannink pushed a commit to njannink/Blazorise that referenced this issue Feb 8, 2022
@stsrki stsrki self-assigned this Feb 9, 2022
@stsrki stsrki added this to the 1.0 milestone Feb 9, 2022
@stsrki stsrki mentioned this issue Feb 9, 2022
66 tasks
@stsrki stsrki moved this to ✔ Done in Development Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants