Font problem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rsands
Posts: 1
Joined: 2015-11-04T07:25:12-07:00
Authentication code: 1151
Contact:

Font problem

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:

Re: Font problem

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests