Linked Questions

769 votes
18 answers
1.1m views

I have base64-encoded binary data in a string. const contentType = 'image/png'; const b64Data = 'iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/...
user1114's user avatar
5 votes
4 answers
22k views

I used a jquery plugin to crop images. The plugin will crop the image and give it to me as a base64 encoded string. In order to upload it to S3, I need to convert this into a file and pass the file ...
THpubs's user avatar
  • 8,240
4 votes
2 answers
26k views

The base64 string received into var img. Then I need to convert into an image and display it as a thumbnail. Here is my implementation: var img = "base64 string"; <div id="img_preview" style="...
gihansalith's user avatar
  • 1,920
5 votes
2 answers
31k views

I'm trying to write a file upload script for use in a secure corporate intranet and having just a little trouble... In the following code, I get no errors and all my debugging looks like everything ...
Nicolai Dutka's user avatar
0 votes
1 answer
9k views

I am receiving the Image as Base64 from the server. I want to decode and display the image. How do I decode base64 to Image ? I dont want to directly paste the base64 string into the image source as ...
deepesh mhatre's user avatar
1 vote
2 answers
8k views

I wrote an Android app to send some text (which should be saved in a file) and an image (which should be saved as a seperate file) with a HTTP-POST-request using the volley lib. The image is ...
liquid.pizza's user avatar
0 votes
1 answer
6k views

I'm trying to convert base64 to normal image URL using Angular 4. I found the solution: dataURItoBlob(dataURI) { // convert base64/URLEncoded data component to raw binary data held in a string ...
Damitha's user avatar
  • 85
0 votes
1 answer
9k views

I tried everything to get this work but didn't happen. Want a method to combine two images (that they are overlayed somehow). I tried it like described here: Merge Image using Javascript With this ...
Moritz Pfeiffer's user avatar
1 vote
1 answer
4k views

I have my original image as png file as follows: <img src="originalimage.png" > Once I modify the original image using a third party annotation library, for example a simple pencil ...
Victor's user avatar
  • 33
-1 votes
1 answer
6k views

I need to resolve a catpcha image encoded in base64 I need to decode a captcha, but it comes to me in this format, they tell me to convert to decimal from hexadecimal and that the image is encoded in ...
Algori's user avatar
  • 1
1 vote
1 answer
5k views

I try to encode my image to base64 data string, but I have problem with output result. My base64 string is very short to has a valid data. If I print it in test div, I have normal and long string. ...
T.Abdullaev's user avatar
0 votes
2 answers
4k views

I have an image that is in base64. It was encoded with Convert.ToBase64String(Image) in my controller. My question is, by using JavaScript, how can I insert the already loaded image from img element ...
Nikola Develops's user avatar
1 vote
1 answer
2k views

I am trying to add data in localstorage when any data is entered in textbox. my question is that how can i add a image in localstorage in Vue js.
Dhruvil Dave's user avatar
0 votes
2 answers
3k views

I am building an in-house app for Client Relationship Management. This app is fairly straight forward. It collects client information and stores it for later use. One part of the information ...
inkslinger's user avatar
2 votes
1 answer
3k views

I have a canvas that I would like to upload as an image file to a server. I can convert the canvas to a Base64 string, but couldn't figure out how to create an image file from there ( so once ...
WKx's user avatar
  • 411

15 30 50 per page