Search found 180 matches

by javismiles
2010-12-10T13:14:54-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

as it says on the usage page gravity * It is also used, as means of specifying the text justification by the various text to image generators such as "label:" and the text justification by the various text to image generators such as "caption:". * The "-annotate" text drawing operator also uses it f...
by javismiles
2010-12-10T13:09:17-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

basically all the -gravitys of all the elements have to be NorthWest in respect to the entire canvas, all of them

what i need now is separated -gravitys to specify left,center or right alignment for the multiline texts themselves (respect to their own boundaries, not the entire canvas)
by javismiles
2010-12-10T13:07:12-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

what i need in a single command is to be able to use -gravity to align multiline texts left, center or right, and at the same time composite those texts with the default northwest within the whole large canvas its really that simple, but so far not working so i have a series of multiline texts, -gra...
by javismiles
2010-12-10T13:04:22-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

yes i can see the problem now the problem is that the -gravity in each individual text i need it to be the positioning of each text within its own bounding box (for simulating left, center and right aligned text) so that doesnt work thats why it works when done separately, example convert -backgroun...
by javismiles
2010-12-10T12:46:06-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

to be more specific sorry positioning of the individual texts works perfect in this splitted version adding the gravity (which i took out previously to simplify explanation) convert -background none -fill #ff33cc -font Arial -pointsize 60 -rotate 0 -gravity West label:"text1" image1.png convert -bac...
by javismiles
2010-12-10T12:43:36-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

the second one almost almost works but only positioning fails, i think it may have to do with the gravity parameters colliding, i explain example of my full command (splitted in lines for more clarity) convert -size 2040x2856 xc:none -gravity NorthWest -fill #99ff00 -font Arial -pointsize 600 -rotat...
by javismiles
2010-12-10T12:14:09-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

fantastic, thank you very much Bonzo,
i already tried the first one and it works perfect! :)

now im going to try the second one, thank you again :)

Jav :)
by javismiles
2010-12-10T11:50:46-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

thank you so much Bonzo! :) i am going to try those commands now, thank you thank you :) by the way i doubt i had, the -geometry syntax -+x-+y if im reading both coordinates from a form from php and they are both positive, as i add them to the command does it work if i put them with a space in betwe...
by javismiles
2010-12-10T11:31:44-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

dear Anthony, thank you so much for taking the time to reply to this, i actually tried myself already to do these 2 cases with pipelining or with composite, but just couldnt manage to reach the right syntax to make them work, i tried many times but so far i can only make them work with separate comm...
by javismiles
2010-12-10T00:44:30-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

thank you :) background is transparent in second example yes, transparent png as output, and yes the canvas is smaller than the image, so the final result becomes kind of a crop of the larger image, thats why positioning can become negative, its all good, the process works perfect, all i need is to ...
by javismiles
2010-12-10T00:20:19-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

trying to condense the summary of both scenarios even more 1) resize an image (img1.jpg) + position it at x,y coordinates within a brand new much larger image (background.jpg) - output : jpeg 2) render multiple texts as png images + composite them all at different x,y coordinates within a brand new ...
by javismiles
2010-12-10T00:16:21-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Re: Uniting different commands in a single one

dear GreenKoopa thank you very much for your help and reply, actually i didnt know what was the most efficient way to do this, i think -draw is probably not the best way, you are right that -geometry and -composite may be much better, i had no special reason to use -draw, i just didnt know a better ...
by javismiles
2010-12-09T23:22:46-07:00
Forum: Users
Topic: Uniting different commands in a single one
Replies: 52
Views: 86269

Uniting different commands in a single one

dear friends, i am trying to unite a few commands in a single one, so far unsuccessfully , maybe you can help me, the commands work all great, but create some large temporary files in between, i know i could delete them later, but it would be all more efficient if i could accomplish it all with a si...
by javismiles
2010-11-27T23:49:53-07:00
Forum: Users
Topic: Multiline text line breaks problem help please thank you
Replies: 2
Views: 6141

Re: Multiline text line breaks problem help please thank you

i found the problem, it was the magic_quotes in the windows server set to on, whereas
on my local computer it was off :) its solved now
best
jav
:)
by javismiles
2010-11-27T01:52:09-07:00
Forum: Users
Topic: Multiline text line breaks problem help please thank you
Replies: 2
Views: 6141

Multiline text line breaks problem help please thank you

hi everybody :) I am using imagemagick since a few weeks ago and i really love it, congrats to all the development team. I am developing an app with javascript, ajax, php and imagemagick and i have this strange problem. In my local computer, i use successfully the following command to create a png i...