-
-
Save guilleiguaran/513b32b5ef3661a92cc92c4c8b62e0b1 to your computer and use it in GitHub Desktop.
Uses ImageMagick to read in a text file, transform it into an image, rotate it, add noise, and output as a pdf.
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
cat ./1-219.1.txt | convert \ | |
-font Courier \ | |
text:- \ | |
-rotate `convert null: -format '%[fx:rand()*15-7]' info:` \ | |
-attenuate 0.1247 +noise Gaussian \ | |
-colorspace Gray \ | |
1-219.1.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment