p2plabsxyz / dscan

A decentralized storage and file-sharing tool that uploads content to IPFS and generates decentralized QR codes.
https://chromewebstore.google.com/detail/dscan-own-your-identity-o/idpfgkgogjjgklefnkjdpghkifbjenap
MIT License
36 stars 26 forks source link

Downloaded QR code png size must be larger (current image 150x150px is unclear and small) #22

Closed akhileshthite closed 2 years ago

akhileshthite commented 2 years ago

Currently, the default generated QR code image with size 150x150px on extension is also used in the download function. Change the generated QR code image size to 400x400px for download function.

Screenshot 2022-06-15 at 7 17 41 PM

QR code size: https://github.com/buidltools/dscan/blob/6a0462cc6aa38a731f158fc6d666bad9fe399909/src/js/qrcode.js#L9

QR code download function: https://github.com/buidltools/dscan/blob/6a0462cc6aa38a731f158fc6d666bad9fe399909/src/js/qrcode.js#L68

Files:

HTML: For file: https://github.com/buidltools/dscan/blob/main/src/popup.html For folder: https://github.com/buidltools/dscan/blob/main/src/folderUpload.html

CSS: https://github.com/buidltools/dscan/blob/main/src/css/popup.css

JS: https://github.com/buidltools/dscan/blob/main/src/js/qrcode.js

For development setup and contribution guide, check the main README.md.