Questions tagged as 'base64'

3
answers

How to save a base64 image in SQL and save it locally as PNG

I need to know if it's possible to save a base64 image in SQL so I can then retrieve it and save it locally as PNG or JPEG. I already know how to convert to base64, but to download in all browsers this is difficult so I wonder if it is possible...
asked by 01.03.2016 / 15:29
2
answers

How to convert to base64 in C #?

I'm using WebForms. It has a certain part of this application where I send, through Ajax, a base64 string, which is the code of an image. I'm used to using PHP and I use the base64_encode and base64_decode functions to do the ba...
asked by 02.03.2018 / 17:32
2
answers

Base64 file extension

I'm doing a REST service and need to get an image by base64, but the image can come with any extension, such as jpg , png , gif , etc. How to identify this extension and proceed with the recording? The code looks like this:...
asked by 19.10.2016 / 14:12
2
answers

Convert image to base64 using VueJS?

I have <input type="file /> in VueJS and when I select an image I want it to be converted to base64 , because I will save the images in the database only in base64 . What would be the method to get only the String...
asked by 03.10.2017 / 15:51
1
answer

Working with Base64 image in Android Studio

I have an app in Android Studio and would like to use Base64 image in ImageView and ImageButton. I already know how to convert the image (from the Drawable folder) to String, but I do not know how to apply this as a background for my items....
asked by 25.06.2016 / 07:16
1
answer

Wait for variable value to return function

I'm trying to create a function that turns a file into a Data URL. But I'm facing a problem: The return value of the function is not what I expected. Here is my code: File.prototype.toData = function() { //Leitor de Arquivos va...
asked by 13.06.2016 / 06:54
1
answer

How to calculate the XML DigestValue?

When signing some XML, the signer generates the DigestValue tag containing a hash. I can generate the digest value with a digital certificate, but I would like to generate this hash without having to have a certificate ... I have seen in some...
asked by 15.12.2013 / 19:11
2
answers

Problem with decrypting hash in Base64

I was reading about an apache rule for validating permissions on files / directories , and I saw that the default file that reads the user and password was: usuário:senha (sendo a senha em base64). I tried to decode the password through th...
asked by 27.04.2014 / 19:11
1
answer

Is there any way to convert text to image without using pictureBox in vb6?

Introduction I have a DLL in VB6 that is generating an array of javascript commands that will be executed in an asp page to generate a PDF dynamically. Until then, all right! In this PDF I need to generate a barcode, the old system would do...
asked by 26.10.2016 / 21:01
1
answer

Manipulate images in base64 with PHP

I have some basic64 encoded images in PHP. I need to resize these images by setting a maximum size for them before storing them in the database. How can I do this?     
asked by 07.07.2016 / 16:35