Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove mime type from base64 javascript

var strImage = strToReplace.replace(/^data:image/[a-z]+;base64,/, "");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #mime #type #javascript
ADD COMMENT
Topic
Name
5+8 =