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 »

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 »

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 »

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: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: text justify command ??

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: text justify command ??

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