Created
September 19, 2018 21:46
-
-
Save mishazawa/98f60e4a6de119860a22103f79659b8a to your computer and use it in GitHub Desktop.
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
mx=320; | |
my=$2; | |
head -c "$((3*mx*my))" /dev/urandom | convert -depth 8 -size "${mx}x${my}" RGB:- $1 | |
# dd if=/dev/zero of=output.dat bs=1M count=24 | |
echo "$(gzip -c "$1" | wc -c) bytes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment