Skip to content

Support for more formats, for example, SVG #47

@RexWzh

Description

@RexWzh

An idea from discourse: Handle svg files by Luxor.jl.

using Luxor
filepath = "qrcode.svg"
qrc = qrcode("https:/www.julialang.org")
@svg begin
    tiles = Tiler(250, 250, size(qrc)..., margin=0)
    squares = first.(tiles)
    for x in eachindex(qrc)
        if qrc[x]
            box(squares[x], tiles.tilewidth, tiles.tileheight, :fill)
        end
    end
end 250 250 filepath
readsvg(filepath)

In practice, Thematic-QR-codes are generated as svg files, like Pac-Man QR codes. So it is important to add support of svg format.
pacman

If anyone is familiar with this area, I am very much looking forward to contributing together. 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions