Hi everyone,
Many of you have reached out to us directly mentioning that getBase64Representation()
method is no longer available in the latest XD build. While we try to not remove/deprecate APIs and make the API surface backward compatible as much as possible, since we are currently in the “beta” phase, we thought it would be wise to introduce breaking changes and deprecate features that don’t make sense to us right now, not later.
For this particular example, our thought was that working with images as base 64 is very inefficient and slow. Ideally, it would have been better for us to expose an API to either give you the bytes directly or an API to render the raw image to disk. However, we do not have either of those APIs at the moment. However, there is a workaround for this. You can export the rendition of the existing nodes and read those renditions and process them as base64.
If you think this workaround is not going to work for you and you definitely need away to get the base64 string, please reach out to us with details of your workflow.
Steve