A laser-engraved QR code can store 3KB, enough for an entire ebook. The file format isn't the problem here.