Page 1 of 1

text justify command ??

Posted: 2007-02-14T06:52:34-07:00
by xsearch
i want justify both side text align
i crate left, right, center... align texts with -gravity command
but not see justify both side command:(
please help me...

Re: text justify command ??

Posted: 2007-02-14T07:31:21-07:00
by tdan
You are looking for 'justified text', where the spacing between the words is modified to keep the left and right sides of the text lined up?

That is not an ImageMagick setting.
Unless you can find a script, you might have to write one of your own.
If you are familiar with Perl, this wouldn't be too bad I think.

Re: text justify command ??

Posted: 2007-02-18T09:51:45-07:00
by xsearch
tdan wrote: You are looking for 'justified text', where the spacing between the words is modified to keep the left and right sides of the text lined up?

That is not an ImageMagick setting.
Unless you can find a script, you might have to write one of your own.
If you are familiar with Perl, this wouldn't be too bad I think.


i search a script but not find.
i find a php script, but script use gd library:(
please help me:((((((((((((

Re: text justify command ??

Posted: 2007-02-18T11:48:05-07:00
by Bonzo
I am not sure what you are after but this post may answer your question ?

http://redux.imagemagick.org/discourse- ... f=1&t=8042

Re: text justify command ??

Posted: 2007-02-18T22:18:03-07:00
by anthony
There is a proposal for an expandsion on 'append' to allow better constrution of things like montage arrays, and even justified images. If each word was an image this may even justify text. However until someone implements the proposal, little can be done.

http://www.imagemagick.org/Usage/bugs/future/#append