Read Base64 encoded image barcode in Node.js with Aspose.BarCode REST API

Can the API support base64 be passed in or does it have to a local or cloud image. .

Hi Brett,

Thank you for your inquiry and sharing details.

Currently we are not supporting direct option of using Base64 encoded image and we have logged this as enhancement in our Jira as BARCODECLOUD-2. You will be notified via this forum thread once this feature is added in our new release. However, please note that it will not be available in short time. For now to use Base64 encoded image, please follow below steps

1- Convert Base64 data using Node.js to image and save to your local disk

2- Upload converted image to Cloud

3- Perform required operations on uploaded image

Thanks,

Naeem Akram
Aspose - File Format APIs.

Got a Complaint? File it!

Keep in touch! We’re on Twitter and Facebook

The issues you have found earlier (filed as BARCODECLOUD-2) have been fixed in Aspose.BarCode SDK for Node.js.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

@bkirkland

In reference to the above fix, now Aspose.Barcode Cloud API support to recognize barcode from the base64 image string. Please check following sample cURL example for your reference. Please feel free to contact us for any further assistance.

curl -X POST "https://api.aspose.cloud/v3.0/barcode/recognize?Type=EAN13" 
-H "accept: application/json" 
-H "authorization: Bearer {Access_Token}" 
-H "Content-Type: multipart/form-data"
-d "iVBORw0KGgoAAA..........base64 string.....+Dvn40t8dLy//AXQHkzvG9DEyAAAAAElFTkSuQmCC"