(zipping (qr images from text)) in browser
install
npm install qrzip
usage
;window {const items =// default styletext: 'https://sankooc.home'entryName: 'thedefault'// add ext contenttext: 'https://sankooc.home/custom/阿/욪'entryName: 'custom-one'opt:padding:top: 20bottom: 50left: 20right: 20{ctxfont = '25px serif';ctxtextAlign = 'center';ctxtextBaseline = 'bottom';const tx = 'ext_内容_내용';ctxfillStyle = '#000';ctx;};;};
options
-
text
qrcode content
-
entry
zip entry default under pngs folder
-
opt
default option
width: 500height: 500padding:top: 20bottom: 20left: 20right: 20typeNumber: 4blankColor: '#fffffe'isD ? '#000000' : '#ffffff'correctLevel: QRErrorCorrectLevelH{}