cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of Image into Base64.

former_member187227
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

EkanshCapgemini
Active Contributor
0 Kudos

Hi,

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

Regards,

Ekansh

former_member187227
Participant
0 Kudos

Hi Ekansh Saxena:

   Thanks For you kind response..

EkanshCapgemini
Active Contributor
0 Kudos

Hi Vinoth,

If you have got the answer, please close the discussion

Regards,

Ekansh