Questions tagged as 'base64'

0
answers

Apache Commons Email base64 Image

I have a software to send emails that use apache commons email to send mail html, I have in the database also a string that represents a base64 image example data:image/png;base64,iVBORw0K .... I tried to use the html img tag to send t...
asked by 16.01.2018 / 20:48
0
answers

How do I use FileProvider and Bitmap together?

I'm having trouble sending a photo to the server, specifically in the snippet: "bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);" . Always when taking the photo it presents an error in this line. Previously, instead of "FilePro...
asked by 14.06.2017 / 08:05
2
answers

Base 64 Conversion in PNG

I'm migrating from Delphi 2007 to Berlin and a code that worked in 2007 does not work in Berlin. I use the following code to generate a PNG from base64 text, but it is returning the error:    no mapping for the unicode character exists in the...
asked by 19.05.2017 / 22:00
0
answers

How to write a base64_encode image with more than 4000 characters in Oracle using php

I'm trying to insert a base64_encode image with php into Oracle, however at the time of inserting it it returns me the following error: ORA-01704: string string too long. The reason for returning this error is because the string is too l...
asked by 07.03.2017 / 12:13
1
answer

Get external site image as date: image / jpeg; base64

Is it possible to save an image as an external site date using javascript or php? because this was the only way I got the image to appear in the browser, to inspect this is the path: link But when I play directly in the browser the image...
asked by 10.03.2018 / 13:44
0
answers

Upload Image java to javascript

I'm developing a rest web service with Spring in Java that provides images to the front-end , which calls Java with an ajax event. On the server side I'm using Image from java. import java.awt.Image; I create an image based on another...
asked by 27.12.2016 / 14:37
1
answer

Saving Base64 Image with ADODB.Stream and Classic ASP [duplicate]

I'm using Classic ASP and Javascript to load and crop the images to the site. I use a script that converts the images to base64 sent by the post and is rendered on the server. I followed the walkthrough here: Saving Base64 Image with ADODB...
asked by 13.10.2016 / 21:12
1
answer

How to save Base64 in ImageFiled Django / data: image / jpeg; base64 ,?

I'm trying to save a base64 image to my template, but I can not. My code is; Template: class Image(models.Model): img = models.ImageField(upload_to = 'pic_folder') view: @csrf_exempt def imageUP(request): img = request.GET['img...
asked by 18.08.2016 / 06:21
2
answers

Phonegap: How to save an image taken and converted to base64 in the Bank?

I take a photo with an android application and transform into base64, I would like to know how to save this base64 in the database along with other information that I have on the page ... This is my code that takes the photos and turns them i...
asked by 11.11.2015 / 22:37
1
answer

Encrypt URL and reduce size of PHP encryption

I'm making a basic system where I pass information like, title, url video, image ... I'm creating this way because I do not want to use a database. When I'm going to do this encryption $ mp4 = base64 ($ link); It encrypts this url l...
asked by 27.11.2018 / 00:48