How to resize, compose and save as multiple file?
Posted: 2007-12-19T05:11:08-07:00
Hi,
I'm totally new to this but willing to learn.
Below are what I want to do.
I have a few big images as background. The image dimension is 500x500 - ratio 1:1
I want to resize to multiple dimension eg. 100x100, 300x400, 400x300.
Note that some of the dimensions are not in 1:1 ratio. I am using the -shave and -crop to overcome that.
Next, I have another few images with transparent background. Dimension is also 500x500.
I want to embed the image on the previous background. I need to do the resizing first to make sure the image is properly position at the center of the background.
I know I can do this using multiple call of convert command but this is not the best way to do it. I think it can be done using a single convert command. I tried many times but still failed.
Note that this is not watermarking processes because it involves multiple background images with multiple object images.
Hope someone can help me out.
Thanks and best regards,
I'm totally new to this but willing to learn.
Below are what I want to do.
I have a few big images as background. The image dimension is 500x500 - ratio 1:1
I want to resize to multiple dimension eg. 100x100, 300x400, 400x300.
Note that some of the dimensions are not in 1:1 ratio. I am using the -shave and -crop to overcome that.
Next, I have another few images with transparent background. Dimension is also 500x500.
I want to embed the image on the previous background. I need to do the resizing first to make sure the image is properly position at the center of the background.
I know I can do this using multiple call of convert command but this is not the best way to do it. I think it can be done using a single convert command. I tried many times but still failed.
Note that this is not watermarking processes because it involves multiple background images with multiple object images.
Hope someone can help me out.
Thanks and best regards,