1 Replies - 385 Views - Last Post: 08 January 2014 - 07:24 AM

#1 tieugiang94  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 160
  • Joined: 07-December 11

Type of "data:image/png;base64," , and savto an image file in

Posted 08 January 2014 - 06:25 AM

I have a string it with start with "data:image/png;base64,{base64_string_code_here}"
What is the name type of above string ? ( Oops my english skill wrong: May be it is "type name" not "name type "
How to save it to jpg ( or png ) file in ASP. NET ?

This post has been edited by tieugiang94: 08 January 2014 - 06:33 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Type of "data:image/png;base64," , and savto an image file in

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3481
  • View blog
  • Posts: 10,033
  • Joined: 08-June 10

Re: Type of "data:image/png;base64," , and savto an image file in

Posted 08 January 2014 - 07:24 AM

1) Id go for "inline image".

2) base64 decode it (to binary) and then save it as PNG image.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1