by darklyg (Posted Wed Sep 14, 2016 8:52 am)
Yes it saves into other formats without a problem.
This is fine with that image. But I want to define dimensions of 200x100, and it process a 800x400 image to 200x100, but also process a 400x800 image to 200x400 and a 400x400 image to 200x200. So whatever ratio image I upload, it produces an image at least 200x100 but preserving ratio. Take a look at the ^ resize operator on ImageMagick, which is described as "Minimum values of width and height given, aspect ratio preserved".
Thanks for your help so far, I realise that the "cover" option seems unusual at first, but its very useful in producing web thumbnails for fluid layouts.
Read Main Topic
xnview wrote:ok i'll check. This file is loaded correctly by imagemagick?
Yes it saves into other formats without a problem.
So you can use
- Code: Select all
-resize 100 0
This is fine with that image. But I want to define dimensions of 200x100, and it process a 800x400 image to 200x100, but also process a 400x800 image to 200x400 and a 400x400 image to 200x200. So whatever ratio image I upload, it produces an image at least 200x100 but preserving ratio. Take a look at the ^ resize operator on ImageMagick, which is described as "Minimum values of width and height given, aspect ratio preserved".
Thanks for your help so far, I realise that the "cover" option seems unusual at first, but its very useful in producing web thumbnails for fluid layouts.
Read Main Topic