Questions tagged as 'base64'

1
answer

error with characters when decoding a variable from js to php

Hello, I am a problem that I do not know the reason, I have a code encoded in base64 and I inserted this code into a js variable, from php to js, it worked more perfect impossible, then I passed this js variable to php, also worked beauty, it di...
asked by 12.07.2015 / 15:24
0
answers

Problems with axes, Spring Boot and base64

I'm trying to make a post from my react native app for my Spring boot application. However, I'm getting this error:    java.lang.IllegalArgumentException: Illegal base64 character a React Native Code: axios({ method: 'post', url...
asked by 20.12.2018 / 12:22
0
answers

I need to return a 12-position token in Base64

I need a token of 12 positions in Base64, so when I generate a hex it has exactly 32 digits. At first I convert to byte [] byte[] tok = Base64. decodeBase64(preToken.getBytes()); The idea is that with this token I generate a hexadecimal...
asked by 14.12.2018 / 13:42
0
answers

MPDF Class - Base64 Images

Good afternoon, I'm using an mdpf class to generate the PDF of a file, but when I use a base64 image within a <img> model my image did not appear Function: $date = date("dmYHi"); $mpdf = new mPDF('','A4',0,'',10,5,7,7,6,6,...
asked by 05.12.2018 / 16:57
0
answers

Azure Storage - no storage

I'm trying to save images to storage, the whole process happens smoothly, until the time I'm going to look at the storage and: This is my script const blobSvc = azure.createBlobService(config.containerConnectionString); let filen...
asked by 14.11.2018 / 20:41
1
answer

TypeError: Can not read property '1' of null

I have this problem and I have no idea how to solve it, I want to save images in Azure storage. const blobSvc = azure.createBlobService(config.containerConnectionString); let filename = guid.raw().toString() + '.jpg'; let rawdata = re...
asked by 12.11.2018 / 17:54
0
answers

Make post request in python by sending a base64 image

Hello, I am studying python and I am trying to create a post in python that receives an image, saves it to the computer and sends it to an external service through a request.post. aux = imagem.read().encode("base64") files = {'file':aux} hea...
asked by 28.09.2018 / 23:39
0
answers

Bitmap resolution

Hello, I'm doing an activity in which I need the app to capture 3 images, and send them to the bank, these images need to go as String (that is, convert the image to base64), the problem is that the resolution is coming out that neither of the mi...
asked by 24.04.2018 / 20:47
0
answers

How to set character limit in base64 encoder

I have this little system: <?php if (!empty($_POST)) { extract($_POST); $urlEncode = base64($url); } ?> this system I encrypt a url. ex: I put in an input: link it returns encrypted: L1lrYmEvenIrNUthUW4...
asked by 11.04.2018 / 21:12
1
answer

Android - String in Base64 decode to pdf

Hello, The purpose is to decode a string in Base64 and move to PDF format and open ( no need to download to android device ). At this point I have this: public void onClick(View view) { int position = getAdapterPosition();...
asked by 17.01.2018 / 14:24