You can make the command line meming tool even more obscure: echo"How CLI memers look at GUI memers" | convert -background transparent -fill black -font Liberation-Sans-pointsize24 label:@- twilight-snobs.png -gravity center -composite jpeg:- | curl-F"file=@-;filename=meme.jpg""$(sed -n 's/^UPLOAD_URL=//p' config.env)"
Imagemagick is basically command-line GIMP. It’s very handy for doing server-side image processing, like scaling down profile pics or adding watermarks.
make_meme_with_imagemagick.sh --text "How CLI memers look at GUI memers" --template twilight-snobs | upload_meme_to_lemmy.sh
You can make the command line meming tool even more obscure:
echo "How CLI memers look at GUI memers" | convert -background transparent -fill black -font Liberation-Sans -pointsize 24 label:@- twilight-snobs.png -gravity center -composite jpeg:- | curl -F "file=@-;filename=meme.jpg" "$(sed -n 's/^UPLOAD_URL=//p' config.env)"
What trickery is this?
Imagemagick is basically command-line GIMP. It’s very handy for doing server-side image processing, like scaling down profile pics or adding watermarks.