commit | 4e130d2afdda8ddeb49452ec603498adb688470f | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Sun Sep 29 21:57:02 2019 -0700 |
committer | Michael Jumper <mjumper@apache.org> | Sun Sep 29 21:57:05 2019 -0700 |
tree | 7b59db5c2d4f71825e9906ef0f1e6db3efc515c0 | |
parent | 5ff81f7735798c3804097d97f7422f03ba769379 [diff] |
GUACAMOLE-884: Leverage createImageBitmap() for reading image data where supported. Some browsers suffer from a memory leak when reading image data repeatedly using the Image object. Reading from Blobs does not exhibit the same behavior. While reading from Blobs 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.