The link on that page is not working.
Can you please give me the correct URL ?? ( this is the faulty URL: https://reference.aspose.com/javascript-cpp/barcode/)
The link on that page is not working.
Can you please give me the correct URL ?? ( this is the faulty URL: https://reference.aspose.com/javascript-cpp/barcode/)
It seems that the link you provided for the API reference of Aspose.BarCode for JavaScript via C++ is returning a 404 error. You can access the correct API reference page using the following link:
Aspose.BarCode for JavaScript via C++ API Reference
This page contains comprehensive documentation and resources related to the Aspose.BarCode library for JavaScript applications. If you have any further questions or need additional assistance, feel free to ask!
Here is what the API page from your url contains:
# Aspose.BarCode for JavaScript via C++
## Aspose.BarCode for JavaScript via C++ API Reference is under construction
* *
Yes, Aspose.BarCode for JavaScript via C++ API Reference section is under construction and will be available soon.
Seems it provides less info than the javaversion.
it only returns as BarCode Result:
CodeText and CodeType.
Are there any plans to return other values like:
Confidence ?
BArcode x,y positions ?
Hello,
Thank you for your input.
We plan to prepare API Reference in the next release, sorry for inconvenience.
For now you could examine your BarCodeResult instance in JavaScript Console of your browser.
For example:
>reader.FoundBarCodes(0)
BarCodeResult {$$: {…}}
$$: {ptrType: RegisteredPointer, ptr: 43417552, count: {…}}
CodeBytesBase64: (...)
CodeText: "Aspose.BarCode"
CodeType: "QR"
Confidence: "Strong"
Extended: BarCodeExtendedParameters
ReadingQuality: 100
Region: BarCodeRegionParameters
$$: {ptrType: RegisteredPointer, ptr: 43239840, count: {…}}
Angle: 0
PointsCount: 4
Quadrangle: Quadrangle
Rectangle: Rectangle
$$: {ptrType: RegisteredPointer, ptr: 43224424, count: {…}}
Bottom: 50
Left: 6
Right: 50
Top: 6
In general API of JavaScript via C++ project as close as possible to the .NET or Java one.
Thanks very usefull.
Question regarding constructors for BarCodeReader.
using that code
var reader = new BarCodeInstance.BarCodeReader(file,‘DataMatrix’);
// file is a BLOB (image)
I receive that error:
Error reading or decoding file: TypeError: BarCodeInstance.BarCodeReader is not a constructor
Any idea why this error occurs ?
Aspose.BarCode supports the following image formats for reading barcodes (see the document on supported image formats for your reference):
JPEG, EMF, TIFF, SVG, PNG, BMP and GIF.
You may try to convert the blob object to image by yourselves and then use Aspose.BarCode for JavaScript via C++ API for barcode recognition.
Thx,
trying to send directly raw data from the image binary, is that supported, through a js BLOB object.
is that supported ?
ie: looks like that: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCBCAB5wDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP)
You need to convert the JavaScript Blob (or Base64) raw data into an image format so the Aspose.BarCode could process it.