Convert An Image To base64 On The Command Line
Use the [TODO: Code shorthand span ] command with the [TODO: Code shorthand span ] operator to convert an image to base64 and save the string in a file :
bash
You can also export it into an environmental variable for use in other scripts
bash