I want to resize a picture to a new size using one parameter: Width.
If the picture is horizontal, the new size will be: width = Width, height = proportional to width.
And if the picture is vertical, the new size will be: height = Width, width = proportional to height.
Any idea how to implement this?
I'm using ImageMagick with MagickNet wrapper.