[magick-users] resize + crop with exact size and proportions
Stano Paška
stano.paska at gmail.com
Wed Jun 6 08:01:05 PDT 2007
Hi,
it is possible to resize image differently when it is oriented
landscape or portrait?
I need create thumbnails 104x80 from landscape or portrait sized images.
Once I have it done with creating extra borders for portraits, but now
I must done it with cropping.
Example:
input: 500x300, resized to 133x80, cropped to 104x80
input: 300x500, resized ro 104x173, cropped to 104x80
I need something like -rezise 104x104 but not 104 as maximum values
but minimum values, other side may be larger and I crop it exact to
104x80
It is possible with one commandline for all cases?
Thanks for answers
Stano Paška.
More information about the Magick-users
mailing list