We are glad to roll out our latest release of Aspose.BarCode for .NET v19.10 having support for widely used Swiss QRCode. This new feature will make developers capable of developing applications to use it on bills, making digital payments, product packaging, railways, bike-sharing and even for buying bitcoins. Details of all the new exciting features can be found in the release notes containing a list of all the new added features, bugs resolution and public API changes which a developer should know for working with latest upgrades. So let us jump into this new release and see how these new features can be used.
Generate Swiss QR Code
One of the important usages of Swiss QR Code is to replace the previous payment slips. For this purpose, detailed information is required to trigger payments and process the QR invoice. Aspose.BarCode has provided all those necessary payment information by introducing new classes SwissQRBill and SwissQRCodetext which provide a large number of properties required to work with the Swiss QR Codes.
Here is a detailed example for generating the Swiss QR Code. To perform this activity you have to instantiate a ComplexBarcodeGenerator instance and provide SwissQRCodetext containing all the necessary information for billing.
Following is the output Swiss QR Code generated with the above code sample:
You may visit the following link for this example and other details in the developers’ guide.
Reading the Swiss QR Code
As mentioned earlier, Swiss codes are widely used so reading is also implemented for a wide range of Swiss QR Codes. A new class ComplexCodetextReader is to be instantiated by setting the DecodeType.QR. Following is the sample code which reads a Swiss QR Code and displays the detail.
For more details visit here.
Read information from Columbia Id cards and driving license
For testing purpose, we tried our product on a few used Columbia Id cards and driving license. It was a success and all the information was read successfully however few enhancements were done to read the information without any error. As we know that Pdf417 is used in this case which is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. “PDF” stands for Portable Data File. The “417” signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. We have made the following enhancements in this case:
- Enhance restoration methods for blurred Pdf417 barcodes
- Improve basic recognition quality
- Avoid failures during image to text conversion
- Investigation for a multithreaded framework for Zebra target detection
Enhancement to read the whole length of the barcode
There was an issue while reading whole length of the barcode as the whole text was not read and the partial text was returned by the API. A detailed investigation was done and observed that current wiped bar restoration works only for NBase and need changes which could be implemented for WBase based barcodes. Another problem is the absence of checksum in Code39 barcodes, which doesn’t allow to check if the result correct. All these issues were resolved and this issue was sorted out by enabling the wiped bars option.
Following sample code reads the whole length of the barcode.
Aspose.BarCode for .NET Resources
You can get started with Aspose.BarCode for .NET by making use of information available in the following:
- Homepage for Aspose.BarCode for .NET API
- Download Aspose.BarCode for .NET
- Aspose.BarCode for .NET Wiki docs – Help documentation and API reference documents.
- Aspose.BarCode Product Family Forum – Post your technical questions and queries, or any other problem you faced while running Aspose.BarCode APIs.
- Enable Email Subscription – You can keep yourself updated with the latest news on Aspose.BarCode APIs, new features, fixes and other API related topics by subscribing to Aspose.BarCode blog.
- Aspose.BarCode for .NET Examples – We have published our code examples on the social coding website GitHub.com. You can explore the code examples for learning purposes.