Last active
October 20, 2019 14:18
-
-
Save GitHub30/a698ad53e5557a376791ee162dd586ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toCanvas(document.createElement('canvas'), {bcid:'datamatrix',text:'0123456789',scale:4,paddingwidth:4,paddingheight:4}, (e, cvs) => console.log(cvs.toDataURL('image/png'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment