Questions tagged as 'base64'

3
answers

What is the base64 encoding for?

Virtually every programming language one deserves has its implementation of encoding and decoding from a string to a string in Base64 characters. But what is Base64 itself for? Thank you!     
asked by 05.03.2015 / 13:14
2
answers

How to pass Int to Base64 in PHP?

Base64 can store 6 bits for each character used. Assuming we are using int64 or uint64 we use 64 bits, which could be represented in ~ 11 characters. I've tried answer this question , but PHP fails to convert the values correctly. $int = 5...
asked by 31.12.2017 / 21:56
3
answers

Is there any way to convert a string to base 64 in javascript?

Is there any way to convert a base64 string to javascript? In PHP we can do this: base64_encode('stack overlow'); //c3RhY2sgb3Zlcmxvdw== How can I do this in javascript?     
asked by 16.10.2015 / 17:13
2
answers

How to insert an image inside a CSS file?

I use a program here in the company that in its Web module it has its logo inserted directly in CSS something like: #logo img{ max-width:100%; background-image: 'data|base64=acSs....'; } How do I create this kind of background myself?...
asked by 13.12.2013 / 19:46
2
answers

When to convert a bitmap to base64 string?

I know that, before, it was necessary to convert an image to string, because of limitations with SMTP . My questions are: What is the use of this practice today? Is there any gain in terms of performance in relation to storing / transm...
asked by 16.09.2014 / 16:13
2
answers

Base62 encoding

I'd like to know where I can get some PHP implementation, similar to PHP's MIME Base64 but only contain the A-Z, a-z, and 0-9 characters. PHP Base64 is quite versatile, but I need an algorithm that does not include the characters +...
asked by 16.01.2015 / 16:12
2
answers

Methods of storing images

I am studying how best to store some images of users that are registered to my system. I found 3 ways to resolve this issue: Save to a local directory , Save as BLOB and Save as Base64 . I would like to know the pros and cons of these...
asked by 10.11.2015 / 21:00
1
answer

Convert image to base64 with IonicFramework

Is there a library that allows you to convert images to base64 with the Ionic Framework ? I tried using angular-base64-upload , it worked with angular, but in Ionic did not succeed. If anyone knows a library would be very gratef...
asked by 08.11.2016 / 13:57
1
answer

How to encode and decode base64 strings in C?

I need to encode (and decode) a JSON to be transmitted from the web to a microcontroller. The% w_that I am sending is encrypted with JSON , but cyphertext contains unprintable characters and I have some problems with this. For examp...
asked by 01.09.2016 / 04:55
1
answer

How does mega.nz work? [closed]

Megaupload (Megaupload successor) has a different and innovative way of downloading other sites. Usually, download sites send the file and the download is done in the browser, but in mega.nz download the base64 file and put it together in the br...
asked by 24.07.2015 / 00:23