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
Questions tagged [base64url]
107 questions
0
votes
1 answer
How to create an Url address for image in SQL Server Filetable
I have saved the image as base64 in the SQL Server FileTable.
Now I want to send the address of this file with API in string format for Android to be displayed with the Picasso library.
Do you have a solution?

fafa
- 1
0
votes
1 answer
NodeJS + Express + PDFKit + node-qrcode: Not able to add QR code to PDF
I am trying to implement a QR code in a PDF document using PDFkit (https://github.com/foliojs/pdfkit) and node-qrcode (https://github.com/soldair/node-qrcode).
Implementing PDF document:
const doc = new PDFDocument({
margin: 0,
size:…

Eirik Madland
- 87
- 1
- 9
0
votes
2 answers
GridView OnRowData Bound, Img_Data from SQL Base64string without templatefild
On my page i have a Gridview fildet over SQl Auto witout Template Filds.
All setting are code behind. ondatabound
Now i have a Base64 String in the sql table and gridview dont schow image.
i see the base64string in the result.
How i can convert the…

user17432192
- 13
- 3
0
votes
0 answers
convert base64 string to base64 url in node.js
I was wonder how to convert a base64 string to a base 64 url that you could use in the browser for my project. I've already tried using base64.toString('base64url'), but that didn't work. Below is some example code.
const fs=require("fs")
let…

codingtuba
- 366
- 2
- 13
0
votes
1 answer
Uploading a base64 encoded image (as uri) from React Native
I am going thorough the React Native tutorial on expo.dev and I am stuck on "Handling platform differences".
For the web implementation, the tutorial uses some crufty old npm library 'anonymous-files' that hasn't been maintained in years, and it…

AZW
- 111
- 3
0
votes
1 answer
Cannot load HTML code of image converted from base64 image
I have a HTML string (generated by Summernote) that contains base64 image tags.
I load the image elements, convert it to image blob, upload it, and get the image-url back.
Then, I set the src attribute of previous base64 image to new image-url.
When…

Rabin Kalikote
- 3
- 2
0
votes
0 answers
Javascript react safe image in database
I have a problem with saving pictures in the database. I want to do a post Method, where i can safe a file in a directory and save the picture link in the database.
Here is my Code:
`const toBase64 = file => new Promise((resolve, reject) => {
…

crvxッ
- 60
- 7
0
votes
1 answer
Testing my function that converts base64 to url
I have my function to convert base 64 to url
function convertB64ToUrl(cameraImage: string): string {
const byteString = atob(cameraImage)
const arrayBuffer = new ArrayBuffer(byteString.length)
const uint8Array = new…

Yana Trifonova
- 586
- 7
- 28
0
votes
1 answer
GET data:image/jpg;base64, false net::ERR_INVALID_URL
I am getting an error while I am trying to use base64 images I have fetched from backend. All the backend APIs are working properly. I am getting all the base64 images as response also, but images are not appearing and I am getting this error too.…
user16852130
0
votes
0 answers
How to store PDF in mongodb?
I was successful in storing images in mongodb using the base64 url. But when I tried to do so with PDFs, it gave an url which does not work. Wait, let me explain, when I put the image base64 url in the req.body of the POST request, the special signs…

Ajinkya Kamble
- 13
- 1
- 3
0
votes
1 answer
I have written a vb.net code to display image in the image control but not able to display the image
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim con As New SqlConnection
Dim img As New Image
con.ConnectionString = ("Initial Catalog=test; Data Source=LAPTOP-DJ6MPGR2\ROOT123;User…

divya rao
- 5
- 2
0
votes
1 answer
Uint clamped array to data url
I want to get part of a canvas in the base 64 data url format which will be sent to my api
for this is I am using the ctx.getImageData() method which is returning a clamped uint 8 array
here is the code:
const data = ctx.getImageData(mousex,…

Yash Tripathi
- 19
- 3
0
votes
1 answer
Azure KeyVault signature fails during verification using javascript libraries intermittently
I am using Azure key vault for creating and storing my Secp256k1 keys. I am also using the sign API for getting my input string signed. I am working on a Secp256K1 blockchain network.These are steps I follow to get the signature in…

Jaswinder Singh
- 31
- 1
- 4
0
votes
1 answer
Powershell Base64 URL-safe encode the binary hash string above to make it suitable for HTTP requests
I want to Base64 URL-safe encode my "binary hash string" value that comes as input from my previous code line to make it suitable for HTTP requests, i.e. final_hash = base64_url_safe_encode(binary_hash_str). Where i can use the final hashed password…

Elizabeth
- 11
- 3
0
votes
1 answer
Is there anything more compact than base64 for providing large images in plaintext logs?
I need to transfer a generated 1920x1080 image out of a Node pipeline that has no connectivity to either the internet or me, with the only controllable output being plaintext logs
So in order to retrieve that image, I need some way to transfer that…

Jayleaf
- 31
- 1
- 9