Browse our Products
Aspose.BarCode for Cpp 25.9 Release Notes
This page contains release notes information for Aspose.BarCode for C++ 25.9.
Please also check CodePorting.Native Cs2Cpp 25.9 release notes.
Please also check CodePorting.Native Cs2Cpp 25.9 release notes.
All Changes
Key | Summary | Category |
---|---|---|
BARCODENET-39385 | Improve Aztec recognition performance on mobile devices | Enhancement |
BARCODENET-39397 | Optimize 2D barcode recognition, change the recognition algorithm of GS1CompositeBar | Enhancement |
Public API changes and backwards compatibility
Aztec Code recognition performance
Aztec Code barcode recognition performance has been enhanced, with better results on mobile devices and in document processing scenarios.
auto reader = System::MakeObject<BarCodeReader>(u"Aztec.png", DecodeType::Aztec);
auto results = reader->ReadBarCodes();
for (auto const& res : results)
Console::WriteLine(res->get_CodeText());
GS1 Composite Barcode recognition process
GS1 Composite Barcode recognition process has been updated to eliminate delays when using DecodeType.Types2D.
auto gen = System::MakeObject<BarcodeGenerator>(
EncodeTypes::GS1CompositeBar,
u"(01)13112345678906|(17)010615(10)A123456"
);
auto params = gen->get_Parameters();
params->get_Barcode()->get_GS1CompositeBar()->set_LinearComponentType(EncodeTypes::GS1Code128);
params->get_Barcode()->get_GS1CompositeBar()->set_TwoDComponentType(TwoDComponentType::CC_C);
params->get_Barcode()->get_GS1CompositeBar()->set_IsAllowOnlyGS1Encoding(true);
params->get_Barcode()->get_CodeTextParameters()->set_Location(CodeLocation::None);
auto image = gen->GenerateBarCodeImage();
auto reader = System::MakeObject<BarCodeReader>(image, DecodeType::GS1CompositeBar);
auto results = reader->ReadBarCodes();
for (auto const& res : results)
Console::WriteLine(res->get_CodeText());