Free Support Forum -

How to add image in a Microsoft Word document report from JSON data in Dart using Aspose.Words REST API


I try to create a report containing images using an array of bytes, but I get a file where the textboxes have not been replaced by the images after some time. I use JSON format.

The report is generated without any problem using url.

I use client aspose_words_cloud: ^21.2.0 (Dart). (56.7 KB)


You may convert your image to a base64 string and pass it instead of URL in JSON data. Hopefully, it will help you to accomplish the task. (44.4 KB)