Gets representation of given Size and returns it as EinhugurMacOSBridge.CGImage.
This function does not interpolate so if you ask for size 128 x 128 and it does not exist then you might get 256 x 256.
To get interpolation when size does not exist then you could for example use the ToPicture function.