#3793 resize full scaled image to a specific width

Possible solution to scale width only, any ideas? #3793