Search found 44 matches

by mostafanastary
2014-12-05T10:58:53-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

Yes fred. thank you again.
by mostafanastary
2014-12-05T04:19:17-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

Hi, i ask in stackoverflow about loop in exec and there is a solution for that:

http://stackoverflow.com/questions/2731 ... 5#27311115
by mostafanastary
2014-12-04T02:42:57-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

thank you fred, i got it, and i will try to use terminal.
by mostafanastary
2014-12-03T15:33:17-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

thank you bonzo, work for me,
i open this topic to find a way to use loop in exec() witch use in php for imagemagick mostly.
by mostafanastary
2014-12-03T14:28:47-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

i never use terminal and shell script, i need use that with php, in imagemagick command, pipes dosen't work.
by mostafanastary
2014-12-03T13:56:48-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

Re: how php loop in exec ?

dear fred, i need to create some png file such as : 1.png, 2.png,3.png and etc. for example or draw some text or ... i think i need create loop inside exec() function, like: cat text_data.txt | while read width gravity color pointsize x y text do convert -size ${width}x -gravity $gravity -fill ...
by mostafanastary
2014-12-03T13:40:12-07:00
Forum: Users
Topic: how php loop in exec ?
Replies: 11
Views: 13720

how php loop in exec ?

Hi, i have this code for example: exec("for (($i=1; i<=$5; $i++)); do convert -size 1024x -font tahoma.ttf -pointsize 42 -channel RGBA -background transparent -fill dodgerblue1 -stroke slategray4 caption:'Hi, this is a text' intro$i.png; done"); but didn't work, is it possible do while or for loop ...
by mostafanastary
2014-12-03T06:54:09-07:00
Forum: Users
Topic: how merge some image on path with imagemagick?
Replies: 8
Views: 8103

Re: how merge some image on path with imagemagick?

Wow, prefect.
thank you for share.
by mostafanastary
2014-12-03T06:53:30-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

Hi Fred, I code this command and it work very well. i test it with my new way for persian and arabic drawing text and work very good, $text = 'I am not sure I understand your problem and the reference you provided. If it has to do with UTF8 characters, I believe you asked that before and got answers ...
by mostafanastary
2014-12-02T18:16:38-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

I have updated my http://im.snibgo.com/snutf8.htm page to include Arabic examples, including word wrap and \n newlines.
that good, but you use the pango, is it safe for server? because last update of pango in it website is too old
by mostafanastary
2014-12-02T18:13:20-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

Hi again, i coding $text = "I am not sure I understand your problem and the reference you provided. If it has to do with UTF8 characters, I believe you asked that before and got answers."; $arrText=explode("\n",wordwrap($text,30,"\n")); exec("convert -background white -gravity center -fill black ...
by mostafanastary
2014-12-02T16:51:14-07:00
Forum: Users
Topic: how merge some image on path with imagemagick?
Replies: 8
Views: 8103

Re: how merge some image on path with imagemagick?

very very good script, i will try that, thank you fred.
by mostafanastary
2014-12-01T19:03:23-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

what is your idea about the results?
by mostafanastary
2014-12-01T19:01:51-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

but topic is about line break fred,
I open a new topic and explain about the code.
thank you
by mostafanastary
2014-12-01T18:35:45-07:00
Forum: Users
Topic: How I can use Line Break like this with imagemagick
Replies: 19
Views: 20968

Re: How I can use Line Break like this with imagemagick

i mean row, in persian we say line :) but the some result with : aban.ttf (farsi font ) and with imagemagick without pango or etc... : http://img.majidonline.com/thumb/311525/r01.png hejaz.ttf: http://img.majidonline.com/thumb/311526/r02.png ahmad.ttf: http://img.majidonline.com/thumb/311527/r03.png ...