Created
December 10, 2025 23:28
-
-
Save jkeam/905118a396929fd0b95c04b5f878d5b8 to your computer and use it in GitHub Desktop.
Convert image to base64 encoded string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PNGLOGOB64=$(base64 -i logo.png) | |
| B64_FULL_LOGO="data:image/png;base64,$PNGLOGOB64" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment