Scales and fits the image into a specific size.
The maximum width at which the image can fit into.
The maximum height at which the image can fit into.
A boolean determining whether scaling up is allowed or not.
See Implementation
Scales and fits the image into a specific size.