kozakdenys / qr-code-styling

Automaticly generate your styled QR code in your web app.

Home Page:https://qr-code-styling.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIze of module or a cell

stsrki opened this issue · comments

Hi all. First I must say that you have an excellent library.

I'm trying to move away from QRCoder for my library(Blazorise). The qr-code-styling library, seems a great candidate to move forward.

There is only one problem. In QRCoder, there is an option named pixelsPerModule. In qr-code-styling there is nothing that is similar to that. There are only width, and height options to define size. My question is, is there any way I can calculate pixelsPerModule, or width, and height based on pixelsPerModule?

At this time I cannot just remove PixelsPerModule as that would break the API of my own library.


Edit* PS. I'm moving away from QRCoder because recently Microsoft removed System.Drawing from .NET6 and in doing so it breaks support for any platform besides Windows.