IM team,
I have received great hep so far from this forum. I could save quite some time processing images. I now know how to apply level and get almost ready to use images. Last piece of puzzle for me is to composite this images based on certain rules . Please see these images for example
1 )https://www.dropbox.com/s/zg44un84x94h0 ... .jpeg?dl=0
2 ) https://www.dropbox.com/s/99szd6k1pipk5 ... .jpeg?dl=0
The result needs ot be somewhat like this : -https://www.dropbox.com/s/2tnnzlesflpp9 ... d.jpg?dl=0
So the problem is to contain the necklace in upper rectangle and then fit in earrings in bottom two rectangle. Based on earrings dimension9can read from an xml, I may need to zoom in/out earrings to give correct perception. At time I also need to show these two earrings, and again based on dimension, zoom in /out to fill in negative space . What is the best ay to accomplish this and first problem above using IM.
Thanks
JagV
Composite an Image based on fixed criteria
Re: Composite an Image based on fixed criteria
You can position the objects on a canvas e.g. -gravity north for the necklace and -gravity southwest and -gravity southeast for the earrings.
I would guess you would need to read the dimensions from the xml file into variables and would need a small piece of code to do this then feed them to your IM command.
I would guess you would need to read the dimensions from the xml file into variables and would need a small piece of code to do this then feed them to your IM command.