Last active
January 30, 2020 13:59
-
-
Save uilian/8c18c3fa5403c7476ed3e1a6c479b92b to your computer and use it in GitHub Desktop.
Export console text output to image
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
# text can be anything, 'ccow' below is an alias for: | |
# alias ccow='fortune | cowsay | lolcatjs' | |
convert | |
-size 500x500 \ | |
xc:lightblue \ | |
-font Courier -pointsize 12 \ | |
-fill blue \ | |
-gravity Northwest \ | |
-draw "text 0,0 '$(ccow)'" \ | |
image.png | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment