Skip to Content

Conversion of Image into Base64.

Hi Experts,

I have to upload image as base64 format into oData. How to convert the .jpg/jpeg image into base64 format for sapui5 mobile application. please suggest some idea.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jul 15, 2015 at 08:36 AM

    Hi,

    You can use javascript to convert any file in base64 encoded string. Please check this link Base64 encode a file - JSFiddle

    Regards,

    Ekansh

    Add comment
    10|10000 characters needed characters exceeded