Questions tagged as 'blob'

2
answers

How to transform base64 image to File?

I am generating a canvas within my application, then I would like to upload what is believed in that canvas as a% png image to my server. The problem I'm having is that it goes up, obviously with weight but the image can not be seen. The can...
asked by 09.03.2017 / 20:43
2
answers

Save images on sqlite android

Hello, I am trying an example to save photos in sqlite, I have managed to show an image of the gallery, but I do not know how to save it. Thanks. //cargar foto en imagenView @Override protected void onActivityResult(int requestCode, int result...
asked by 30.05.2017 / 13:22
1
answer

PHP: Upload an image to a database

At this moment I am working on a project in PHP. I am basically new and I have many doubts, among which is the following: How do I upload an image to a database using long_blob ? Note that I have two buttons, one to send data to a ta...
asked by 06.08.2018 / 18:51
3
answers

How to display an image stored in BLOB format in a MySQL database in PHP

I have an image field that is a BLOB type in my MySQL database, I collect the data by PDO, but at the time of viewing it, it does not show me anything, I searched the Internet and everywhere I put the same thing with src="data:image/jpeg;base...
asked by 20.02.2017 / 12:06
1
answer

BLOB type images stored in a table

Does anyone know how to extract BLOB type images stored in a MySQL table and convert them to .png, to store them in a folder? The following code extracts the image of the "200x150" field from the "img_alq" table and displays it on the screen:...
asked by 27.05.2017 / 15:48
0
answers

Laravel - Get BLOB in response Json or other

I'm getting information specific to a id , the detail is what comes with columns blob My answer when trying My controller: if(ctype_digit($id) == false) return redirect('/')->with('error', 'Id invalido'); $conten...
asked by 12.12.2018 / 00:31
1
answer

Update file field from PHP in MySQL

I have a table that stores the names of those responsible for some minutes, so once the minutes are signed I upload them so that they are included in the column of the person in charge. But when trying to upload the record, this appears:...
asked by 25.06.2018 / 17:44
2
answers

Save a base 64 image from URL

In Genexus15, I can not save an image from a URL to pass it to base 64. &image.ImageURI = 'unaURLCualquiera' &url = &image.ImageURI &blob.FromString(&url) &blob.ToBase64String()     
asked by 04.07.2017 / 21:07
1
answer

Can I send a BLOB to an input file from Javascript?

I have a website where you record a video, and what you do is create a BLOB and then send it to a URL server with URL.createObjectURL() . But I need to save that BLOB in MySQL , so I tried to send the BLOB to input of type...
asked by 07.05.2017 / 05:17
1
answer

Blob URL in Ruby

I have a database in which I have the blob of an image, now I want to show it in an interface created with rails_admin , I'm doing it as mentioned in link in the output formatting part, but I do not know how to pass the blob...
asked by 03.09.2018 / 05:55