Posted: 2006-07-12T15:41:45-07:00
You have to decide how you want to do that. Several choices:
1. Scale the image down to fit the smaller dimension, then stretch to fill the void.
2. Scale the image down to fit the smaller dimension, then fill the void with background color.
3. Scale the image down to fit the larger dimension and crop off the excess.
Any of those are pretty easy if you understand the "geometry" parameter.
Glenn
1. Scale the image down to fit the smaller dimension, then stretch to fill the void.
2. Scale the image down to fit the smaller dimension, then fill the void with background color.
3. Scale the image down to fit the larger dimension and crop off the excess.
Any of those are pretty easy if you understand the "geometry" parameter.
Glenn