Questions tagged [base64]

Base64 is a set of encoding schemes that represent binary data in an ASCII string format.

Base64 is a group of similar encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The Base64 term originates from a specific MIME content transfer encoding.

Base64 uses characters 0 to 9, A to Z and a to z to represent digits of 64-decimal numbers. The last two required digits differ between schemas. For instance, MIME (RFC 2045) uses + and / , XML names tokens use - and ., XML identifiers use _ and : and regular expressions use ! and -.

When encoding in Base64 text, 3 bytes are typically encoded into 4 characters. To encode arbitrary lengths, the padding character (=) is used. = at the end of encoded sequence means that only two bytes and == means that only one byte is encoded by the last 4 character group.

Characters outside the discussed alphabet are normally forbidden, except in MIME where they are discarded.

Base64 encoding schemes are commonly used when there is a need to encode binary data that need to be stored and transferred over media that are designed to deal with textual data. This is to ensure that the data remain intact without modification during transport. Base64 is commonly used in a number of applications including email via MIME, or to store binary data in textual formats such as XML or JSON.

Useful online tools

They work without enabled JavaScript too.

11149 questions
4
votes
2 answers

Convert Image to Base64String in SELECT query

I have a table my_table like this CREATE TABLE my_table ([row_id] [int] IDENTITY(1,1) NOT NULL, [description] [varchar](50) NOT NULL, [img1] [image] NOT NULL) I want to retrieve description and img1 as Base64String for a given…
Arthur Rey
  • 2,990
  • 3
  • 19
  • 42
4
votes
2 answers

How to parse non-UTF8 XML in browsers with Javascript?

I have a XML string encoded in big5: atob('PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iYmlnNSIgPz48dGl0bGU+pKSk5TwvdGl0bGU+') (中文 in UTF-8.) I'd like to extract the content of . How can I do…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/character-encoding" class="post-tag grid--cell" title="show questions tagged 'character-encoding'" rel="tag">character-encoding</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/big5" class="post-tag grid--cell" title="show questions tagged 'big5'" rel="tag">big5</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 10 '16 at 13:10">asked Jul 10 '16 at 13:10</time> <a href="../../users/3786245/chih-hsuan-yen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3786245.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Chih-Hsuan Yen" /> </a> <div class="s-user-card--info"> <a href="../../users/3786245/chih-hsuan-yen" class="s-user-card--link">Chih-Hsuan Yen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">754</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="11 silver badges">11</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badges">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-38253904"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/38253904/python-and-java-mac-sha256-encoding-generating-very-similar-key" class="question-hyperlink">Python and Java MAC SHA256 encoding generating VERY SIMILAR KEY</a></h3> <div class="excerpt">I'm creating a signed request (SHA256 and base64) using Java and validating this request in Python. The keys that I generated are really similar: Java: UjuGTll3GF7H8MHWyJc41NAEcd-OZOeJLT9PiAevcsw Python…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/sha256" class="post-tag grid--cell" title="show questions tagged 'sha256'" rel="tag">sha256</a> <a href="../../questions/tagged/hmac" class="post-tag grid--cell" title="show questions tagged 'hmac'" rel="tag">hmac</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 07 '16 at 19:35">asked Jul 07 '16 at 19:35</time> <a href="../../users/4483828/rodrigo-ney" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4483828.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Rodrigo Ney" /> </a> <div class="s-user-card--info"> <a href="../../users/4483828/rodrigo-ney" class="s-user-card--link">Rodrigo Ney</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">353</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badges">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-38214765"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/38214765/base64-encodebytes-v-b64encode-v-encodestring" class="question-hyperlink">base64 encodebytes v b64encode v encodestring</a></h3> <div class="excerpt">What is difference and why/when would I want to use base64.b64encode vs. base64.encodestring vs. base64.encodebytes? From what I can tell they all basically do the same thing except that base64.encodebytes is no longer supported??? thanks </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 06 '16 at 00:21">asked Jul 06 '16 at 00:21</time> <a href="../../users/3084737/jay42" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3084737.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jay42" /> </a> <div class="s-user-card--info"> <a href="../../users/3084737/jay42" class="s-user-card--link">Jay42</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">417</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="11 silver badge">11</li> <li class="s-award-bling s-award-bling__bronze" title="24 bronze badge">24</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-3773751"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>5</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/3773751/php-add-remove-carriage-returns-to-a-base-64-encoded-string" class="question-hyperlink">PHP - add/remove carriage returns to a base 64 encoded string</a></h3> <div class="excerpt">I have a verrrrrrrry long base64 encoded string which is displayed in a textarea. The problem is that this string doesn't have any spaces or carriage returns so it gets displayed on one line with a ugly horizontal scroll bar. Can I add somehow…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/string" class="post-tag grid--cell" title="show questions tagged 'string'" rel="tag">string</a> <a href="../../questions/tagged/encoding" class="post-tag grid--cell" title="show questions tagged 'encoding'" rel="tag">encoding</a> <a href="../../questions/tagged/textarea" class="post-tag grid--cell" title="show questions tagged 'textarea'" rel="tag">textarea</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 22 '10 at 21:25">asked Sep 22 '10 at 21:25</time> <a href="../../users/376947/alex" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/376947.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alex" /> </a> <div class="s-user-card--info"> <a href="../../users/376947/alex" class="s-user-card--link">Alex</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">66,732</li> <li class="s-award-bling s-award-bling__gold" title="177 gold badges">177</li> <li class="s-award-bling s-award-bling__silver" title="439 silver badges">439</li> <li class="s-award-bling s-award-bling__bronze" title="641 bronze badges">641</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37542134"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37542134/best-compression-algorithm-for-url-query-string" class="question-hyperlink">Best compression algorithm for Url query string</a></h3> <div class="excerpt">I have to pass a large url query string, so when this string size exceeds a certain number of characters, it creates problem when passed in the url. Currently I have tried deflation + base64 encoding, which is giving me around 30-35% compression. So…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/url" class="post-tag grid--cell" title="show questions tagged 'url'" rel="tag">url</a> <a href="../../questions/tagged/compression" class="post-tag grid--cell" title="show questions tagged 'compression'" rel="tag">compression</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/deflate" class="post-tag grid--cell" title="show questions tagged 'deflate'" rel="tag">deflate</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 31 '16 at 09:39">asked May 31 '16 at 09:39</time> <a href="../../users/1934211/outofmind" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1934211.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="OutOfMind" /> </a> <div class="s-user-card--info"> <a href="../../users/1934211/outofmind" class="s-user-card--link">OutOfMind</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">874</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badges">16</li> <li class="s-award-bling s-award-bling__bronze" title="32 bronze badges">32</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37501644"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37501644/convert-an-imagedata-object-not-a-canvas-to-image-dataurl" class="question-hyperlink">Convert an ImageData object (not a canvas) to image dataURL</a></h3> <div class="excerpt">I would like to create a dataURL from an ImageData object (i.e. width, height, data). I realize canvas has this, but I want to avoid distortions canvas use has (alpha premultiply mainly) .. i.e. I want to avoid the obvious canvas.putImageData…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/html5-canvas" class="post-tag grid--cell" title="show questions tagged 'html5-canvas'" rel="tag">html5-canvas</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/data-uri" class="post-tag grid--cell" title="show questions tagged 'data-uri'" rel="tag">data-uri</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 28 '16 at 16:58">asked May 28 '16 at 16:58</time> <a href="../../users/1791917/backspaces" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1791917.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="backspaces" /> </a> <div class="s-user-card--info"> <a href="../../users/1791917/backspaces" class="s-user-card--link">backspaces</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3,802</li> <li class="s-award-bling s-award-bling__gold" title="6 gold badges">6</li> <li class="s-award-bling s-award-bling__silver" title="34 silver badges">34</li> <li class="s-award-bling s-award-bling__bronze" title="58 bronze badges">58</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37088302"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37088302/convert-byte-array-to-base64-string-in-angularjs" class="question-hyperlink">Convert Byte array to Base64 string in Angularjs</a></h3> <div class="excerpt">I am getting byte array in service response and that image would be shown in an image field of my html page. Any idea how can i implement this. I tried to find out solution for this over stack overflow but not able to get valid solution. Please…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/angularjs" class="post-tag grid--cell" title="show questions tagged 'angularjs'" rel="tag">angularjs</a> <a href="../../questions/tagged/cordova" class="post-tag grid--cell" title="show questions tagged 'cordova'" rel="tag">cordova</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/arrays" class="post-tag grid--cell" title="show questions tagged 'arrays'" rel="tag">arrays</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 07 '16 at 12:03">asked May 07 '16 at 12:03</time> <a href="../../users/4168467/anjaney-mishra" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4168467.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Anjaney Mishra" /> </a> <div class="s-user-card--info"> <a href="../../users/4168467/anjaney-mishra" class="s-user-card--link">Anjaney Mishra</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">141</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badge">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37022199"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37022199/python-how-to-inflate-gzipped-base64d-string" class="question-hyperlink">python - how to inflate gzipped, base64d string</a></h3> <div class="excerpt">I'm just wondering how is it possible to inflate/decompress a string of text that is a gzipped compressed string that also hase base64 encoding? For instance, all the python examples seem to focus on opening a file, whereas I want to work on a…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/gzip" class="post-tag grid--cell" title="show questions tagged 'gzip'" rel="tag">gzip</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 04 '16 at 08:21">asked May 04 '16 at 08:21</time> <a href="../../users/264975/ke" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/264975.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ke." /> </a> <div class="s-user-card--info"> <a href="../../users/264975/ke" class="s-user-card--link">Ke.</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,484</li> <li class="s-award-bling s-award-bling__gold" title="8 gold badges">8</li> <li class="s-award-bling s-award-bling__silver" title="40 silver badges">40</li> <li class="s-award-bling s-award-bling__bronze" title="78 bronze badges">78</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-37004315"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/37004315/create-base64-encoded-images-with-javascript" class="question-hyperlink">Create base64 encoded images with JavaScript</a></h3> <div class="excerpt">Since images are data, we can write our code as <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO 9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" /> Now my point is: can we…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/image-processing" class="post-tag grid--cell" title="show questions tagged 'image-processing'" rel="tag">image-processing</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/png" class="post-tag grid--cell" title="show questions tagged 'png'" rel="tag">png</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 03 '16 at 12:34">asked May 03 '16 at 12:34</time> <a href="../../users/4943598/partha-sarathi-ghosh" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4943598.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Partha Sarathi Ghosh" /> </a> <div class="s-user-card--info"> <a href="../../users/4943598/partha-sarathi-ghosh" class="s-user-card--link">Partha Sarathi Ghosh</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">10,936</li> <li class="s-award-bling s-award-bling__gold" title="20 gold badges">20</li> <li class="s-award-bling s-award-bling__silver" title="59 silver badges">59</li> <li class="s-award-bling s-award-bling__bronze" title="84 bronze badges">84</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-36993593"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/36993593/base64-encoding-in-javascript-decoding-in-php" class="question-hyperlink">base64 encoding in javascript decoding in php</a></h3> <div class="excerpt">I am trying to encode a string in javascript and decode it in php. I use this code to put the string in a inputbox and then send it via form PUT. document.getElementById('signature').value= b64EncodeUnicode(ab2str(signature)); And this code to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/character-encoding" class="post-tag grid--cell" title="show questions tagged 'character-encoding'" rel="tag">character-encoding</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 03 '16 at 00:14">asked May 03 '16 at 00:14</time> <a href="../../users/3121015/juanjo75es" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3121015.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="juanjo75es" /> </a> <div class="s-user-card--info"> <a href="../../users/3121015/juanjo75es" class="s-user-card--link">juanjo75es</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">253</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="15 bronze badge">15</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-36991401"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/36991401/base64-clipping-images" class="question-hyperlink">Base64 clipping images</a></h3> <div class="excerpt">The following code is taking a base64 string provided by a plugin called cropit and converting it to an image. list($type, $base64) = explode(';', $base64); list(, $base64) = explode(',', $base64); $base64 =…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/image-processing" class="post-tag grid--cell" title="show questions tagged 'image-processing'" rel="tag">image-processing</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 02 '16 at 20:47">asked May 02 '16 at 20:47</time> <a href="../../users/6282944/coilerz" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6282944.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Coilerz" /> </a> <div class="s-user-card--info"> <a href="../../users/6282944/coilerz" class="s-user-card--link">Coilerz</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">61</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-36937857"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/36937857/saving-base64-string-to-amazon-s3" class="question-hyperlink">Saving base64 string to Amazon S3</a></h3> <div class="excerpt">I'm working on a React Native application where I'm trying to take images from a user's camera roll, convert them to a base64 string and store them to Amazon S3 for later use. Following this blog post I'm able to take a user's camera roll and…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/amazon-s3" class="post-tag grid--cell" title="show questions tagged 'amazon-s3'" rel="tag">amazon-s3</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/react-native" class="post-tag grid--cell" title="show questions tagged 'react-native'" rel="tag">react-native</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 29 '16 at 12:00">asked Apr 29 '16 at 12:00</time> <a href="../../users/3280194/onaracs" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3280194.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Onaracs" /> </a> <div class="s-user-card--info"> <a href="../../users/3280194/onaracs" class="s-user-card--link">Onaracs</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">935</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="14 silver badges">14</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-36310235"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/36310235/fail-to-correctly-encode-and-decode-using-java-util-base64" class="question-hyperlink">fail to correctly encode and decode using java.util.Base64</a></h3> <div class="excerpt">Let "awids" be 12 characters length ids in base 64 (A-Z a-z 0-9 "-" "@"). This is the input. My final goal is to create a bijective mapping between these awids and UUIDs, using some paddings, having as initial input the awids. While trying to use…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java-8" class="post-tag grid--cell" title="show questions tagged 'java-8'" rel="tag">java-8</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> <a href="../../questions/tagged/decode" class="post-tag grid--cell" title="show questions tagged 'decode'" rel="tag">decode</a> <a href="../../questions/tagged/encode" class="post-tag grid--cell" title="show questions tagged 'encode'" rel="tag">encode</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 30 '16 at 13:25">asked Mar 30 '16 at 13:25</time> <a href="../../users/2107667/costin" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2107667.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Costin" /> </a> <div class="s-user-card--info"> <a href="../../users/2107667/costin" class="s-user-card--link">Costin</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,699</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="25 silver badges">25</li> <li class="s-award-bling s-award-bling__bronze" title="43 bronze badges">43</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-36079407"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>4</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/36079407/perl-base64-encode-with-url-safe-characters" class="question-hyperlink">perl base64 encode with url safe characters</a></h3> <div class="excerpt">In a perl script I am using base64 to encode a string , but I want the output to be URL safe Base64 includes chars like / or + which get converted in an URL How can I avoid this ? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/perl" class="post-tag grid--cell" title="show questions tagged 'perl'" rel="tag">perl</a> <a href="../../questions/tagged/base64" class="post-tag grid--cell" title="show questions tagged 'base64'" rel="tag">base64</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 18 '16 at 08:22">asked Mar 18 '16 at 08:22</time> <a href="../../users/1191999/ram" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1191999.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ram" /> </a> <div class="s-user-card--info"> <a href="../../users/1191999/ram" class="s-user-card--link">Ram</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,155</li> <li class="s-award-bling s-award-bling__silver" title="13 silver badges">13</li> <li class="s-award-bling s-award-bling__bronze" title="34 bronze badges">34</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/base64_page=91" rel="prev" title="Go to page 91">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/base64_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/base64_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/base64_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/base64_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/base64_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/base64_page=93" rel="next" title="Go to page 93"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>