0

Referring to the question. I have rendered a base-64 encoded image on client side.

.even { background: #fff url(data:image/gif;base64,R0lGODlhBgASALMAAOfn5+rq6uvr6+zs7O7u7vHx8fPz8/b29vj4+P39/f///wAAAAAAAAAAAAAAAAAAACwAAAAABgASAAAIMAAVCBxIsKDBgwgTDkzAsKGAhxARSJx4oKJFAxgzFtjIkYDHjwNCigxAsiSAkygDAgA7) repeat-x bottom}

I wonder I could not find any link saying how to upload base-64 encoded image to server side. Is it feasible to send image stream to MVC / Web Api Controller?

Community
  • 1
  • 1
Abhijeet
  • 13,562
  • 26
  • 94
  • 175

1 Answers1

1

You can simply pass the base64 string and covert it to image and then save it.
You can refer this question
converting a base 64 string to an image and saving it

Community
  • 1
  • 1
शेखर
  • 17,412
  • 13
  • 61
  • 117