Does it have to be BASE64 encoded ? Could it be WEBP like in @roscos example
like in the thread you asked the question in