MCPcopy Create free account
hub / github.com/microsoft/SandDance / getDefaultImageType

Function getDefaultImageType

docs/app/js/sanddance-app.js:57324–57329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57322 }
57323}
57324function getDefaultImageType() {
57325 if (IMAGE_BITMAP_SUPPORTED) return "imagebitmap";
57326 if (IMAGE_SUPPORTED) return "image";
57327 if (DATA_SUPPORTED) return "data";
57328 throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js");
57329}
57330
57331},{"../utils/globals":"jsRDa","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"jsRDa":[function(require,module,exports) {
57332var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected