Hi @metamitya , consider this web3 web page: https://browse…

BSVSearch ·

Hi @metamitya , consider this web3 web page: https://browser.ordnet.io/marquez.web3/reasonism. This page/website is all on the Blockchain using Ordinals -- the HTML, images, CSS, they are all inscribed as ordinals. On that page, I want to show lots of QR codes for BSV addresses for tip, buy or license music tracks. There are 7 tracks x 3 BSV addresses. That will be 21 images in total. If I want to display a QR code for each one, to make it easier for people to scan it with their phones, normally I would inscribe a QR code image as a separate ordinal and then call it to display from my ordinal HTML.

So to deal with this problem, I needed a way to 'embed' the QR code images on my webpage so that they are part of the HTML code. This way, I can only inscribe the HTML as an ordinal and it will contain the 27 QR codes with it.

The image of the album cover, I leave that as an Ordinal because I want to be able to use that image on other web pages and even on other websites and because that is an ordinal, I can still treat it like any ordinary ordinal (eg sell it, transfer it to another address, etc).

That was my use-case.

In short, converting images to base64 converts them into alpha-numeric characters that can be embedded on a text file - including html, that can later be re-rendered as an image.