Custom QR Code with Logo

유료
분류별 qrcode-monkey | 업데이트됨 vor 20 Tagen | Tools
인기

9.8 / 10

지연 시간

740ms

서비스 수준

98%

Health Check

N/A

모든 토론으로 돌아가기

Converting to Image

Rapid account: Connerhughes 14
connerhughes14
vor 5 Jahren

The API for jquery returns a string when running in browser. How would you convert this to the image?

Rapid account: Qrcode Monkey
qrcode-monkey Commented vor 5 Jahren

Hello,

the API returns the binary data of the image file. I would turn this string into base64 string which can be used as the “src” attribute of an image tag. Look here at the btoa() function: https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding

I hope this helps!

Best regards
Norbert

Rapid account: Connerhughes 14
connerhughes14 Commented vor 5 Jahren

The response is an unintelligible string from the API call

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입