Skip to main content

Convert Cloudinary image url to base64

Comments

5 comments

  • Francis Tagbo

    Hi Trang,

    Yes, the Cloudinary SDK includes utilities to decode and encode Base64.
    Here is an example class in Java SDK.

    Regards,
    Francis

    1
  • Trang

    I only know Javascript and I notice that the Node.js SDK also includes a helper for encoding Base64.

    How am I supposed to call the helper above? I don't see it mentioned anywhere in the documentation here.

     

     

    0
  • Mo Ip

    Hi Trang,

    You can use the code of base64Encode from Node.js SDK or check out details from: 

    https://www.tutorialspoint.com/converting-images-to-a-base64-data-url-using-javascript

    Regards,

    Mo

    0
  • Trang

    Hi Mo,

    Thanks for the link. That seems like a good approach.

    0
  • Mo Ip

    Hi Trang,

    Glad to hear.

    Regards,

    Mo

    0

Post is closed for comments.