Got a heads-up from @pjcozzi. Looks like there will some way of seeing what createImageBitmap options are available. Consider using this in our createImageBitmap usage(which itself is not in cesium main yet, but has value when streaming image heavy models. See: https://github.com/AnalyticalGraphicsInc/cesium/issues/6624)
Constructs and returns a new ImageBitmapOptions dictionary whose attributes are
initialized to the corresponding attributes of the options dictionary. Only those
attributes which are recognized by the user agent are included in the returned dictionary. This
allows web applications to detect which ImageBitmap creation options are supported.
We've added createImageBitmap. Until this is supported by browsers, we actually attempt to decode a 1x1 image and see if it throws any errors given these options.
Got a heads-up from @pjcozzi. Looks like there will some way of seeing what createImageBitmap options are available. Consider using this in our createImageBitmap usage(which itself is not in cesium main yet, but has value when streaming image heavy models. See: https://github.com/AnalyticalGraphicsInc/cesium/issues/6624)
whatwg pr: https://github.com/whatwg/html/pull/4248
From that commit: