Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.BarCode for C++ 24.8 Linux

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 45.91MB
  • Date Added:
  • 21/8/2024

Description

It contains Aspose.BarCode for C++ 24.8 Linux release.

File Details

Level up the Linux-powered barcode processing applications with Aspose.BarCode for C++ 24.8 release. This update makes generating and recognizing Australia Post, PZN, and QR codes easier.

Easily Generate Australian Post, Planet, and Postnet Barcodes

With the most recent C++ barcode library version, we have empowered the generation of Australia Post, Planet, and Postnet barcodes. Experience fine-tuned AustralianPostShortBarHeight calculation as it is calculated by default as 0.26 from BarHeight, while PostalShortBarHeight is calculated as 0.5. This code example illustrates the BarHeight calculation for AustralianPost.


//AustraliaPost barcode generation
System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::AustraliaPost, u"6212345678AP");
gen->get_Parameters()->get_Barcode()->get_AustralianPost()->set_AustralianPostEncodingTable(Aspose::BarCode::CustomerInformationInterpretingType::CTable);
gen->get_Parameters()->get_Barcode()->get_BarHeight()->set_Pixels(100.0f);

// If short bar is not specified, it is scaled to 0.26 * BarHeight
gen->get_Parameters()->get_Barcode()->get_AustralianPost()->get_AustralianPostShortBarHeight()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Left()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Top()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Right()->set_Pixels(10.0f);
gen->get_Parameters()->get_Barcode()->get_Padding()->get_Bottom()->set_Pixels(10.0f);
gen->Save(u"AustraliaPost.png", BarCodeImageFormat::Png);

Source*

Support for PZN7 and PZN8 Encoding

We have updated PZN7 and PZN8 encoding/decoding functionality to boost your Linux-based C++ solutions. This sample code demonstrates the encoding and decoding of the PZ7 barcodes.


//encode and decode PZN7
System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::PZN, u"123456");
System::SharedPtr<BarCodeReader> reader = System::MakeObject<BarCodeReader>(gen->GenerateBarCodeImage(), DecodeType::PZN);

for (System::SharedPtr<BarCodeResult> result : reader->ReadBarCodes())
{
    System::Console::WriteLine(result->get_CodeTypeName() + u":" + result->get_CodeText());
}

Source*

Recognize Barcodes with More Convenience

Version 24.8 of the Aspose.BarCode for C++ API lets you benefit from supercharged recognition capabilities for QR, MicroQR, and RectMicroQR barcodes, including support for new parameters like QRVersion, MicroQRVersion, RectMicroQRVersion, and QRErrorLevel on the Linux platform.

Code example:


System::SharedPtr<BarcodeGenerator> gen = System::MakeObject<BarcodeGenerator>(EncodeTypes::QR, u"Aspose");
gen->get_Parameters()->get_Barcode()->get_QR()->set_QrVersion(QRVersion::Version15);
gen->get_Parameters()->get_Barcode()->get_QR()->set_QrErrorLevel(QRErrorLevel::LevelM);

System::SharedPtr<BarCodeReader> reader = System::MakeObject<BarCodeReader>(gen->GenerateBarCodeImage(), DecodeType::QR);
reader->ReadBarCodes();

System::Console::WriteLine(u"Codetext: {0}", reader->get_FoundBarCodes()[0]->get_CodeText());
System::Console::WriteLine(u"QR version: {0}", reader->get_FoundBarCodes()[0]->get_Extended()->get_QR()->get_QRVersion());
System::Console::WriteLine(u"Error level: {0}", reader->get_FoundBarCodes()[0]->get_Extended()->get_QR()->get_QRErrorLevel());

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.BarCode for C++ 24.8 Release Notes.

 English