add image decode
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 282 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 282 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,12 @@
|
||||
var imgDecode = require('../server')
|
||||
|
||||
|
||||
imgDecode.decodeQRFile('./img/out.bmp').then(console.log)
|
||||
imgDecode.decodeQRFile('./img/out.jpg').then(console.log,console.error)
|
||||
imgDecode.decodeQRFile('./img/out.png').then(console.log,console.error)
|
||||
imgDecode.decodeQRFile('./img/out.gif').then(console.log,console.error)
|
||||
imgDecode.decodeQRFile('./img/dt.gif').then(console.log,console.error)
|
||||
imgDecode.decodeQRFile('./img/dt1.gif').then(console.log,console.error)
|
||||
|
||||
//动态img
|
||||
|
||||