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 ~ $
Converting a shell command to a PNG
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Converting a shell command to a PNG
That is a very old version of IM (over 200 versions old) and at a time when IM was undergoing some major changes. I would urge you to upgrade. Also you do not list the delegates available. Try convert -list configure. Or convert -list format. See if you have a PNG delegate or libpng. From the latter command you can see what version you have of libpng. Perhaps you need to upgrade your libpng delegate. Upgrading everything would be the best, since IM is so old.