Coder Social home page Coder Social logo

go-qr's People

Contributors

piglig avatar startnow65 avatar tauu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tauu startnow65

go-qr's Issues

Request for New Release Including WriteAsSVG Function

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

Make toSVGString (and maybe others?) public

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:

  • toSVGString
  • toImage
  • doWriteAsPNG
  • doWriteAsSVG

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.

Option to generate SVG without xml doctype

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.