piglig / go-qr Goto Github PK
View Code? Open in Web Editor NEWA native, high-quality and minimalistic QR code generator
License: MIT License
A native, high-quality and minimalistic QR code generator
License: MIT License
Hi go-qr Team,
First off, thank you for your amazing work on this project. I've been exploring the source code and noticed the WriteAsSVG
function, which would be incredibly useful for my current project.
Could you please let me know if there are any plans for a new release that includes this function? Having it officially available would greatly benefit my work.
Thanks for considering my request. I appreciate all the effort you put into go-qr.
Best regards,
Valentin
Right now if I want to serve the QR code in a Go-based webserver as an SVG file, I always have to save it to a file & open it again, it would be way easier if the toSVGString method was just public.
The same might apply to the following methods:
They would each have to validate the config again, but I think that small loss in performance is worth it for greatly increased volatility of this library.
When enabled, the following lines shouldn't be present in SVG:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
It'll be useful to insert SVG to HTML.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.