$ cat path/to/file.png | openssl base64 | tr -d '\n' | pbcopy
Created
September 26, 2019 12:53
-
-
Save pascaliske/d1b6629b848baf075ad9b0daf57114f5 to your computer and use it in GitHub Desktop.
Convert image file to base64 string in one line.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment