Just to chime in, I believe this just shows an issue with the API as it stands today - it'd be best if we could supply the minimum width/height and have the other end (thumbnailer in this case) determine what to do.
But I agree with Albert, for now to comply with the API, undefined sourceSize needs to be supported, and return the natural image with no scaling.
Just to chime in, I believe this just shows an issue with the API as it stands today - it'd be best if we could supply the minimum width/height and have the other end (thumbnailer in this case) determine what to do.
But I agree with Albert, for now to comply with the API, undefined sourceSize needs to be supported, and return the natural image with no scaling.