Converting a shell command to a PNG
Posted: 2017-01-12T12:56:21-07:00
I wrote a script several years ago that converts the date to a PNG, but for some reason it's no longer working and I cannot figure out why. Any help would be appreciated.
mint-vm ~ $ convert -version
Version: ImageMagick 6.7.7-10 2016-11-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
mint-vm ~ $ convert -fill white -background black -transparent black -pointsize 18 label:"$(date '+%m/%d/%y %r')" date.png
convert.im6: no images defined `date.png' @ error/convert.c/ConvertImageCommand/3044.
mint-vm ~ $
mint-vm ~ $ convert -version
Version: ImageMagick 6.7.7-10 2016-11-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
mint-vm ~ $ convert -fill white -background black -transparent black -pointsize 18 label:"$(date '+%m/%d/%y %r')" date.png
convert.im6: no images defined `date.png' @ error/convert.c/ConvertImageCommand/3044.
mint-vm ~ $