Makes little scrolly text jiffs in Flywheel colors.
- imagemagick
brew install imagemagick
- gifsicle
brew install gifsicle
Heartwell 1.2.otf
font installed- u r on a mac
usage: yolo.sh [options] <message>
Options:
-h Show this help message
-o <output.gif> Path to output gif. Default: yolo.gif
-c <color> Choose color set, valid options are:
red, orange, yellow, green, blue, purple,
pink, black, white. Default: blue
-w Force white text color
$ yolo.sh -c orange -o gtfo.gif GTFO
$ yolo.sh -c purple -w YOLO
fyi if you change script to use black BACKGROUND of #000000 this will cause all color to be lost. Quick workaround BACKGROUND="#010000" so some color is in there. A better solution is to instead add '-colorspace sRGB' flag to the two lines that handle /tmp/${PREFIX}_canvas.png.
Why this is happening. When /tmp/${PREFIX}_canvas.png is created convert tries to be smart and makes that image grayscale if background is black. As a result when /tmp/${PREFIX}_canvas.png is combined to the rest of the images all images will become grayscale. Further when ffmpeg creates gif and the pallete filter is applied, the filter will create further issues such as turning text into only white outline.