Decode base64 into a binary you can use
If you need to convert/decode a picture that is in base64 code, drop the code into file.txt and run the following command.
perl -MMIME::Base64 -ne 'print decode_base64($_)' < file.txt > out.pic
source

If you need to convert/decode a picture that is in base64 code, drop the code into file.txt and run the following command.
perl -MMIME::Base64 -ne 'print decode_base64($_)' < file.txt > out.pic
source
