Created
March 12, 2014 20:44
-
-
Save hernan604/9515882 to your computer and use it in GitHub Desktop.
convert image to base64 with perl
This file contains 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
perl -e 'use MIME::Base64 qw|encode_base64| ; use File::Slurp ; print encode_base64( read_file( $ARGV[0] ) )' /home/hernan/Downloads/quadrado_inclinado.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment