Help with converting to fixed width and fill/pad
Posted: 2006-11-23T14:43:34-07:00
Hello,
I have been struggling with a conversion task that I hope someone of you can help me with.
I have different sizes of original images (I dont know the size cause this shall be done in an automated process). I want to convert them to have a fixed width of 1728 pixels and the height shall maintain the aspect ratio. If the original image is wider than 1728 it shall be resized to 1728 and if the original image is narrower it shall be filled with white background to have the width 1728 pixels. I have read the examples for thumbnail creation, resize, border, etc and tried a lot of different settings. Is it anyone that has accomplished this and can help me with the correct parameters to convert.exe?
Every tip can be useful, so please help me cause I'm stuck with this.
I have been struggling with a conversion task that I hope someone of you can help me with.
I have different sizes of original images (I dont know the size cause this shall be done in an automated process). I want to convert them to have a fixed width of 1728 pixels and the height shall maintain the aspect ratio. If the original image is wider than 1728 it shall be resized to 1728 and if the original image is narrower it shall be filled with white background to have the width 1728 pixels. I have read the examples for thumbnail creation, resize, border, etc and tried a lot of different settings. Is it anyone that has accomplished this and can help me with the correct parameters to convert.exe?
Every tip can be useful, so please help me cause I'm stuck with this.