@vitessce/ome-tiff 3.6.10 → 3.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
2
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -103001,7 +103001,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
103001
103001
  const GLSL_COLORMAPS = [
103002
103002
  "plasma",
103003
103003
  "viridis",
103004
- "jet"
103004
+ "jet",
103005
+ "greys"
103005
103006
  ];
103006
103007
  const GLSL_COLORMAP_DEFAULT = "plasma";
103007
103008
  const COLORMAP_SHADER_PLACEHOLDER = "COLORMAP_FUNC";
@@ -104771,22 +104772,22 @@ async function getDecoder(fileDirectory) {
104771
104772
  const Decoder = await importFn();
104772
104773
  return new Decoder(fileDirectory);
104773
104774
  }
104774
- addDecoder([void 0, 1], () => import("./raw-C3hLu5jb.js").then((m) => m.default));
104775
- addDecoder(5, () => import("./lzw-Ce2kmxIQ.js").then((m) => m.default));
104775
+ addDecoder([void 0, 1], () => import("./raw-DDSNvMvp.js").then((m) => m.default));
104776
+ addDecoder(5, () => import("./lzw-Dqvz6OCO.js").then((m) => m.default));
104776
104777
  addDecoder(6, () => {
104777
104778
  throw new Error("old style JPEG compression is not supported.");
104778
104779
  });
104779
- addDecoder(7, () => import("./jpeg-CCpTe65J.js").then((m) => m.default));
104780
- addDecoder([8, 32946], () => import("./deflate-BmN326NK.js").then((m) => m.default));
104781
- addDecoder(32773, () => import("./packbits-DmSd6DAT.js").then((m) => m.default));
104780
+ addDecoder(7, () => import("./jpeg-DetTipZt.js").then((m) => m.default));
104781
+ addDecoder([8, 32946], () => import("./deflate-BiUHdZkx.js").then((m) => m.default));
104782
+ addDecoder(32773, () => import("./packbits-DnigFejA.js").then((m) => m.default));
104782
104783
  addDecoder(
104783
104784
  34887,
104784
- () => import("./lerc-CS9H9Ndh.js").then(async (m) => {
104785
+ () => import("./lerc-BOE0M084.js").then(async (m) => {
104785
104786
  await m.zstd.init();
104786
104787
  return m;
104787
104788
  }).then((m) => m.default)
104788
104789
  );
104789
- addDecoder(50001, () => import("./webimage-DItILlGR.js").then((m) => m.default));
104790
+ addDecoder(50001, () => import("./webimage-BBiKOH38.js").then((m) => m.default));
104790
104791
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
104791
104792
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
104792
104793
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, b, O } from "./index-DVU_YY8y.js";
1
+ import { c, b, O } from "./index-CovJQ-Ac.js";
2
2
  export {
3
3
  c as OmeTiffAsObsSegmentationsLoader,
4
4
  b as OmeTiffLoader,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
1
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-DVU_YY8y.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-CovJQ-Ac.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
1
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
1
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
1
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-DVU_YY8y.js";
1
+ import { B as BaseDecoder } from "./index-CovJQ-Ac.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/ome-tiff",
3
- "version": "3.6.10",
3
+ "version": "3.6.11",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,15 +18,15 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
- "@vitessce/abstract": "3.6.10",
22
- "@vitessce/error": "3.6.10",
23
- "@vitessce/constants-internal": "3.6.10",
24
- "@vitessce/config": "3.6.10",
25
- "@vitessce/gl": "3.6.10",
26
- "@vitessce/sets-utils": "3.6.10",
27
- "@vitessce/spatial-utils": "3.6.10",
28
- "@vitessce/image-utils": "3.6.10",
29
- "@vitessce/utils": "3.6.10"
21
+ "@vitessce/abstract": "3.6.11",
22
+ "@vitessce/error": "3.6.11",
23
+ "@vitessce/constants-internal": "3.6.11",
24
+ "@vitessce/config": "3.6.11",
25
+ "@vitessce/gl": "3.6.11",
26
+ "@vitessce/sets-utils": "3.6.11",
27
+ "@vitessce/spatial-utils": "3.6.11",
28
+ "@vitessce/image-utils": "3.6.11",
29
+ "@vitessce/utils": "3.6.11"
30
30
  },
31
31
  "scripts": {
32
32
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",