Questions tagged [base64url]

Specifically for URL-safe base64 encoding. Uses - and _ instead of, respectively, + and /. Padding with = is optional. Source: https://en.wikipedia.org/wiki/Base64#URL_applications

107 questions
0
votes
2 answers

MimeMessage causing recipient address required error in Gmail Apis possibly due base64url encoding

Edit 1: After playing around further it appears that the space is not the culprit but possibly the base64url encode method is. I extracted the Raw string for both plain text and mime message and compared them in the the online tool. In case of plain…
Amrit
  • 13
  • 3
0
votes
1 answer

Trying to download a base64 converted csv file in React

// item: { data: , name: 'Mortality' } Download const getDocLink = (url) => { const str = url.substring(url.indexOf(";") + 1); return…
iamPavan
  • 255
  • 4
  • 15
0
votes
3 answers

how to import image base64 in css

Is it possible to somehow import the image base64 from another file? or save the url to a variable and import it to CSS? since the code is very long and it does not seem clean in this way. Thank you for your help guys. index.css .column { …
JGPcode
  • 167
  • 1
  • 4
  • 13
0
votes
1 answer

base 64 url converter for discord bot

im using an api to get me mincraft server details it gives me the ip, player count and all that jazz but for the server icon it gives me a base 64url so i need to decode this first inside my discord bot but i am unsure how this could be…
Probler
  • 5
  • 3
0
votes
0 answers

C# Base64Url conversion of byte array to pre-allocated char array

Is there a way to perform Base64Url conversion of byte array to a pre-allocated char array like ToBase64CharArray does? I need to reuse the char buffer instead of getting new string every time, so Base64UrlEncoder is not suitable.
mrbus2007
  • 197
  • 7
0
votes
1 answer

Webpack url-loader PDF data URI link for Vue site stops working in iOS 14

I have a Vue.js website with a PDF file which is included in my ultimate javascript bundle via webpack. (It's my CV.) The following build and delivery process has worked perfectly fine for me since 2017, but suddenly stopped working in iOS…
Paul Gowder
  • 2,409
  • 1
  • 21
  • 36
0
votes
1 answer

How to display images in cshtml page after joining two path and converting to base64 in mvc?

This is my controller. ImagePath is the path got from database and blobUrl is the azure storage path. And I'm joing these two path and converting that in 64base string. But how to pass that 64base value resultimg to Base64string again in above…
0
votes
1 answer

How to get image base64 from loaded image from url in CachedNetworkImageProvider Flutter

I want to get image base64 from cahcedNetworkImageProvider widget without redownload it to share it in my App. or if there's a way to share image as a URL and could be saved to the device in flutter
ahmed khattab
  • 2,311
  • 3
  • 16
  • 30
0
votes
1 answer

How to convert buffer data to base64 image in angular

I got response data from API as a buffer data, I want to convert to base64 image
sudalak
  • 31
  • 3
0
votes
1 answer

Add date to output of react-signature-canvas

I have to take e-signature from the user on a pdf file. I am using https://www.npmjs.com/package/react-signature-canvas. Right now, when the user digitally signs the document, I save it as base64 code in the database using toDataURL function of the…
0
votes
1 answer

Convert local img to base64 with react hooks

I am in React hooks trying to utilise code in this question Stackoverflow question- but, as I think someone is pointing out, there are problems implementing this in a local environment. I have a variable containing my src path: import avatar from…
Davtho1983
  • 3,827
  • 8
  • 54
  • 105
0
votes
0 answers

Sending Base64 Image Source code by html form with javascript

why is the sending of a base64 code so slow? I got a base64 coded image string and if i submit the value by html form it needs 40 seconds for transfering the data i need the image to save with php I tried already with lzw Compression but it doesn't…
Asario
  • 33
  • 1
  • 1
  • 7
0
votes
0 answers

How to convert URLS or strings to base64?

I am trying to convert multiple images url into base64 here i get images into arraylist filePaths = new ArrayList<>(); filePaths.add(String.valueOf(uri)); for (int i = 0; i < filePaths.size(); i++) { String file =…
user12529109
0
votes
1 answer

How to pass an image base64 url to a sibling component

I have a component that renders leaflet map perfectly and I can draw some polygons on it. I added htmlToImage library to take a screenshot of what I have drawn and if I append it as a child to the same component, it will render fine. But I like to…
0
votes
1 answer

how to display the image inside a mp3 file in a image tag

Hi I was trying to show the image retrieved from a mp3 file in a image tag using html and reactjs. This is the code I used. async getImageFromUploadedFile(framesRetrieved){ const imageArrayBufferRetrieved = framesRetrieved[4].value.data; …
Chinthani
  • 45
  • 1
  • 1
  • 7