Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 572 Bytes

barcode.decode.md

File metadata and controls

22 lines (16 loc) · 572 Bytes

barcode.decode

The decode function is established to decode a barcode image file to get the value. If it is not decodable, the return will be null.

Sample

var msg = barcode.decode("test.png");

API

CallingReturning
barcode . decode ( imagePath ){String | null}
ParametersTypeDescription
imagePathStringThe barcode image file path relatived to the storage folder.