mike-jumper opened a new pull request #446: GUACAMOLE-884: Leverage createImageBitmap() for reading image data where supported. URL: https://github.com/apache/guacamole-client/pull/446 Some browsers suffer from a memory leak when reading image data repeatedly using the `Image` object. Reading from `Blob` objects does not exhibit the same behavior. While reading from `Blob` objects has previously been seen to perform poorly compared to data URIs, this was observed when reading using `createObjectURL()`. The `createImageBitmap()` function appears to perform identically to reading data URIs using `Image`. This change: * Updates `drawBlob()` to leverage `createImageBitmap()` where available. * Adds a new `drawStream()` function to `Guacamole.Display` which automatically selects between reading from the given stream using data URIs or `Blob` objects depending on what the platform best supports.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
