💾 Archived View for tilde.team › ~smokey › pictures › howto-data-url.gmi captured on 2024-08-25 at 01:56:16. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
Heres a quick way to convert pictures into data-urls
openssl
{ echo "=> data:image/png;base64,"; openssl enc -base64 -in input.png; } > image.b64
cat image.b64 | tr -d " \t\n\r"