Page 1 of 1

Font problem

Posted: 2015-11-04T07:28:13-07:00
by rsands
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

Re: Font problem

Posted: 2015-11-04T11:09:48-07:00
by fmw42
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?