text justify command ??

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
xsearch

text justify command ??

Post by xsearch » 2007-02-14T06:52:34-07:00

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...

tdan

Re: text justify command ??

Post by tdan » 2007-02-14T07:31:21-07:00

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.

xsearch

Re: text justify command ??

Post by xsearch » 2007-02-18T09:51:45-07:00

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:((((((((((((

Bonzo
Posts: 2970
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: text justify command ??

Post by Bonzo » 2007-02-18T11:48:05-07:00

I am not sure what you are after but this post may answer your question ?

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

User avatar
anthony
Posts: 8878
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: text justify command ??

Post by anthony » 2007-02-18T22:18:03-07:00

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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply