To learn more about QR Codes have a full read through of Nayuki’s page, as well as https://www.quora.com/Why-does-putting-a-logo-on-a-QR-code-not-interfere-in-the-final-result
These are much more complicated and allow for using canvas as well (which doesn’t work for SSR of course).