Custom QR Code with Logo

PAGATO
Da qrcode-monkey | Aggiornamento 23 giorni fa | Tools
Popolarità

9.8 / 10

Latenza

771ms

Livello di servizio

98%

Health Check

N/A

Torna a tutte le discussioni

Using logos in QR codes does not work in many scenarios

Rapid account: Cheqr
Cheqr
2 years ago

Hello,
I am trying to use the custom QR code API endpoint with a logo from a custom image, but I find it working only in very specific scenarios. I couldn’t find any detail about the supported images, formats, URL structures, and HTTP request headers to perform such operations.

For example, using the following URLs for the “logo” field leads to the following behaviors:

After some investigation, I discovered that the API does struggle when the “Transfer-Encoding” header is set to “chunked” (thus when “Content-Length” is missing), but even when I set a “Content-Length” I get errors about “Unsupported image format” (even though I am just using PNGs)

In the attempt to circumvent the issue, I used the /uploadImage endpoint to upload an image file first rather than directly use a URL, but I encountered similar problems.

What are the conditions under which images from URLs are correctly downloaded from the API?

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti