Page 1 of 1

composite not working same way in 6.33

Posted: 2007-08-02T15:02:52-07:00
by dlink
Hi,
We have been using composite 6.0 like this:

composite -resize 96x74 -gravity center -geometry -3-7 -quality 50 picture.jpg background.jpg picture.jpg

But after upgrading to 6.33 that produces a different result.

Originally it produced a picture in the center of a border image.

Now it does not include the background image file and the image is stage left.

Has the syntax to the composite command changed in 6.33?

Thanks for any help on this.

David,
Valhalla, NY

Re: composite not working same way in 6.33

Posted: 2007-08-05T09:39:42-07:00
by dlink
Hi ImageMagick Community.

I can't believe this problem has received no replies in 3 days.

Do others use composite function? Is 6.33 stable?

Thanks again

Re: composite not working same way in 6.33

Posted: 2007-08-05T11:25:10-07:00
by Bonzo
An answer: I do not have 6.33 so I do not know.

Looking at your code I am supprised it worked in the first place. -resize is not a recognised composite comand, I usualy put the resize comand next to the item I am going to resize or in ( ). The negative sign in the -geometry -3-7 would move one of the images to the left and up.

It may be the syntax has changed as I belive version 6 was a major change from version 5 and it may have changed again since then.

I would rewrite my code to what is working now; I would also probably use convert instead of composte as you can then use -resize.

Re: composite not working same way in 6.33

Posted: 2007-08-10T12:20:48-07:00
by dlink
Thank you Bonzo,
I now use convert to resize prior to calling composite
and I've removed the resize option from the composite command.
Thanks for your support.