Linked Questions

187 votes
8 answers
494k views

I am trying to convert my base64 image string to an image file. This is my Base64 string: http://pastebin.com/ENkTrGNG Using following code to convert it into an image file: function base64_to_jpeg(...
Badal's user avatar
  • 3,817
0 votes
0 answers
582 views

I'm working with AJAX, and I sent a request with POST, in that request I sent a canvas generated image (dataURL). When request is finished, returns in console the generated image in base64. I take all ...
Diablo Rodriguez's user avatar
1 vote
0 answers
38 views

I have the following image that I send its src to PHP using Ajax: <img src="data:image/png;base64,...
user avatar
54 votes
16 answers
188k views

I would like to upload a image, I am using http.Client() for making requests, static uploadImage(String id, File file) { var httpClient = createHttpClient(); Map<String, String> headers = ...
karan vs's user avatar
  • 3,404
3 votes
2 answers
48k views

how to take screenshot of canvas? or How create image, which will consist of image + free zone , located on canvas?
Герай Суинов's user avatar
6 votes
4 answers
22k views

So after hours of websearching, googling and overflowing i can't find the solution to my problem. I got a linechart from Google charts. I want to convert it to PNG, save it on the server en insert it ...
Kenny's user avatar
  • 144
4 votes
2 answers
16k views

I'm creating image using canvas and using following script, function getImage() { var canvas1 = document.getElementById("images"); if (canvas1.getContext) { var ctx = canvas1....
KarSho's user avatar
  • 5,746
7 votes
3 answers
19k views

I am developing api in Laravel 5.4. I will receive the image in base64 format. How can I convert the base64 to image in Laravel?
Simon Shrestha's user avatar
2 votes
1 answer
12k views

how can i save image server side i have this code but for some reason the image that i upload to the server is saved as text/x-generic. what can i do to fix this? <?php function ...
xcalliber's user avatar
  • 305
6 votes
2 answers
6k views

Thank you for taking your time to read this post. i have looked through endless posts on this forum, but still are unable to achieve what am after. I have created a html5 canvas that save users ...
Creativefly's user avatar
1 vote
1 answer
5k views

I want to save a base64 string as an image (.png or .jpg) on my server. The string I get looks like this: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQA[...]" I tried this: $data = $_POST['...
nameless's user avatar
  • 1,531
0 votes
2 answers
7k views

I have a variable in JavaScript name as myImage which holds the base64 encoded string of an image like data:image/png;base64,iVBORw0KGgoAAAANSUhE...... Now I want to save this image on folder at ...
Ghazanfar Idrees's user avatar
3 votes
1 answer
6k views

I've been searching the internet for a while now and cannot find anything that tells me how I turn the result from $('#image-cropper').cropit('export') into an image that PHP can upload to the server. ...
Joe Scotto's user avatar
  • 11.1k
0 votes
1 answer
7k views

I try to make online quiz with images questions, and i need your help/advice. My images is stored on database where have an id "image". My upload works fine, image is stored on database...but i can't ...
Diaconu Eduard's user avatar
0 votes
1 answer
4k views

I am using Croppie jQuery plugin which returns the cropped image encoded in base64. After submitting the form (with the cropped image encoded in base64) - I decode & resize it using the ...
PeraMika's user avatar
  • 3,678

15 30 50 per page