When calling the getPreviewData SOAP API method with an Image parameter, you need to:
a) re-scale the jpg image (suitable for display on a 2.3 cm in width and 2.9 cm in height field on a card) before you pass it as a param to the API method
b) when you pass the base64 encoded image to the API method, you need to prefix the b64 string with "data:image/jpg;base64,"
Get getPreviewData SOAP API method then responds with an output image like thi
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article