Parameters is the stream from which to load the image requestedWidth the image s bounding box width requestedHeight the image s bounding box height preserveRatio indicates whether to preserve the aspect ratio of the original image when scaling to fit the image within the specified bounding box smooth indicates whether to use a better quality filtering algorithm or a faster one when