createImageBitmap is deprecated.
What happened?
Getting the following bug in my app.
Reproduction steps
...
Sandcastle example
No response
Environment
Browser: CesiumJS Version: Operating System:
Hi @mharol, could you provide a Sandcastle example that duplicates the issue?
Look at this discussion https://github.com/whatwg/html/issues/8085
My guess is you should change this line imageOrientation: t.flipY ? "flipY" : "none",
to imageOrientation: t.flipY ? "flipY" : "from-image",
Is this issue still open?
Working on a PR for this issue. Here's a sandcastle that reproduces it. (Note that the message gets logged as a warning to the dedicated Issues tab in Chrome's dev tools).
Unfortunately, this change was made too soon - users still operate on browsers that support the old flag.
And since the only reliable way of detecting support for this flag is to load an image (the way we do for some other bitmap options), rather than doing more of that, I'm just going to revert this commit. Better to have a deprecation warning than a total failure.
https://github.com/CesiumGS/cesium/pull/12871