PNG
JPG
BMP
TIFF
SVG
Australia Post
Read Australia Post Barcodes with JavaScript via C++
Read Australia Post barcode and Australia Post eParcel in JavaScript using server-side Aspose.BarCode for JavaScript via C++ API
How to Read Australia Post barcode Using JavaScript via C++
To scan Australia Post barcode, try Aspose.BarCode for JavaScript , a potent and easy-to-use barcode library with rich functionality that works in any moder browser. Download the latest version directly from the Releases Site and then follow installation instructions .
Command
<script type="text/javascript" src="Aspose.BarCode.JS.Cpp.js" async onload="initializeModule()"></script>
<script>
// Global BarCode module instance
var BarCodeInstance;
// Async function for module initialization
async function initializeModule() {
try {
BarCodeInstance = await BarCode();
console.log('BarCode module has loaded');
// Enable barcode-related controls here
} catch (error) {
console.error("BarCode module initialization error:", error);
}
}
</script>
Steps for Scanning Australia Post barcode in JavaScript
Aspose.BarCode allows developers to read Australia Post barcode barcodes from stream or image with few lines of code
- Create instance of BarCode module
- Create a new instance of Aspose.BarCode.BarCodeReader class
- Pass the source image path containing Australia Post barcode and Australia Post eParcel as a parameter
- Pass an appropriate DecodeType as the second parameter
- Loop through the decoding results
- Get barcode text using the CodeText property
System Requirements
Aspose APIs are supported on all major platforms and operating systems. Before executing the code sample below, please make sure that your system comply with the following requirements.
- Aspose.BarCode for JavaScript via C++ is independent of any specific operating system, allowing it to function on any platform that supports a compatible browser or runtime environment. This includes major operating systems such as Windows, macOS, Linux, iOS, and Android. For detailed technical requirements, see [System Requirements](https://docs.aspose.com/barcode/javascript-cpp/system-requirements/).
Other Supported Barcode Recognition Symbologies
Using JavaScript via C++, One can also read barcode of different symbologies including the following.
2D:
Linear:
Postal: