Reputation:
I am processing images using the ImageResizer library. All of the images vary in size and I want to create normalized renditions of them. Say:
etc...
So - when an image comes in that is 100 x 100 - how can I scale that image up so that I end up with 120 x 120 and 400 x 400?
Atm if the image is smaller than the resize dimensions it seems to leave the image alone
Upvotes: 0
Views: 396
Reputation: 16468
scale=both
. scale=up
.Check out ImageResizer Basics for some visual examples.
Upvotes: 1