Hi All,
My Googlefu is failing me, I can't find an answer on the web.
Does anyone know how the default image decoding for a Xamarin Forms Image control is implemented?
Specifically, if it is given a stream (from file/uri) containing an image that is larger than the control (say image is 4000x3000 pixels and control is 150x150), does the image control only decode the stream to a size of roughly the image control? Or does it decode the full size image and then scale it down from that for display (consuming even more memory)?
Basically, is it a good idea to bind to "random" image urls received from from web API's, or should I be avoiding the standard binding and doing the decode myself then saving the smaller image to another stream and passing that back to the image control?
Thanks in advance.