I Have a bit of a strange problem no java expert i know could solve ..
i need to used imagemagick on my application to make the emails on my website converted to images so no pot can take the emails easily .. the problem solved with image magick command line as following
convert -size 200x30 xc:transparent -font /home/emad/TITUSCBZ.TTF -fill black -pointsize 12 -draw "text 5,15 'firstname.lastname@example.org'" /home/emad/test.png
and it work like magic really and so i tried to put that on the java to run it with Runtime.getRuntime().exec(command) but the result is sadly disappointing .. i have now image as output ..but with no text inside.. i do a sys out to see the command and took the command that outed and put it in the terminal and it worked..so the problem in the Runtime some how.. the code of java is .. in case you are asking
it'll give you blank image .. do any one have a solution
well i've tried his example and here's my new code
and i've got the following messages which make no sense to me :S
convert: unable to open image `5,15': No such file or directory.
convert: unable to open image `'email@example.com'"': No such file or directory.
convert: Non-conforming drawing primitive definition `text'.
Process exitValue: 1