Questions tagged as 'base64'

2
answers

Encode image in base64

Good morning. I have an image in a server folder that I want to encode in base64 to be able to insert it in a pdf with the jsPdf plugin. I have tried to insert the image in a canvas but when I code it is encoded correctly but clearly, it e...
asked by 07.02.2018 / 07:06
2
answers

base64_decode in wordpress

I am trying to save a coded with base64 in the table posts_meta of Wordpress for later get that field, decode it and show the content, but somehow it makes an "escape" of all the quotes so that the Html after being decoded appears li...
asked by 08.05.2016 / 13:16
1
answer

Convert image to base64 android

My code what it does is take an image from the gallery and take its route in string and waiting for it in the database awaits the route of the image and displays it. I want to be able to take a photo from the camera and also choose fro...
asked by 27.04.2017 / 06:36
1
answer

Rare characters when decoding chain in Base64

Good, I've been trying for several days to pass a chain in base64 to something worthy, I explain that I've tried to see what solution I can give you. First of all I use PHP, the string is encoded in C # with Convert.Tobase64String()...
asked by 02.06.2017 / 23:25
1
answer

Convert base64 image to "input file"

Good morning, I'm making an application in angular that picks up a drawing made in canvas and then upload it as a png image to the server. This is my function: $scope.signContract = function(){ var canvas = document.getElementById("p...
asked by 10.03.2017 / 12:27
1
answer

Decrypt Base64 Array in nodejs

Hi, I have an encrypted fix in base64 and when I decrypt it, it does it with characters that I would like to delete: const b64_to_utf8 = (str) => { return new Buffer(str, 'base64').toString('ascii') }...
asked by 20.08.2018 / 04:52
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

Encode base64 Java image

I'm trying to convert an image to a String base64 (I need to send it via POST ) and I can not get it. I use the following instruction: String imgDS = DatatypeConverter.printBase64Binary(Files.readAllBytes(Paths.get(".\imagen.png")));...
asked by 20.04.2017 / 18:18
2
answers

OutOfMemoryError using base64 and realmdb when displaying images on android

My code what it does is get an image from the gallery or from the camera and convert this image to base64 , then wait in RealmDB , when I want to show the image, I convert it from string to bitmap and I show it in c...
asked by 04.05.2017 / 05:09
2
answers

Variable String does not support an image in base64

Good morning I have a library, which generates an image base64 from my JSP , that image sent servlet through a post , when I receive it I do not receive the full character information, maybe the string does not support the str...
asked by 03.05.2018 / 23:26