Hi,
Hoping someone can help with a strange one.
We have a command that we run via cron under a users account but it is giving a blank empty white canvas
convert -font '/home/***/assets/IDAutomationHC39M.ttf' -pointsize 48 -size x500 -fill gray label:'*text*' \( -gravity south -crop 100%x50%+0+0 +repage \) '/home/***/gkPE3XtZsNhRpm2ijap5PNyrdsLg8EkRB7lH8kD1y9xXZaHncShDqH1LG42yqMS8agbTjub7X0oIkTohW8KGWL4qbzCfA8Rv7K9N.jpg'
It runs perfect via ssh even under the users account ssh. Once we let the same command run via cron it just has a blank empty white image. Any ideas?
Thanks
Richard
Font problem
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Font problem
This is probably unrelated, but your \( and \) are not needed and probably should only be used when processing other images or clones. I would suggest you remove them. Perhaps your cron does not have permissions to process or cannot find the font. Do you get any error messages?