@vitessce/ome-tiff 3.3.9 → 3.3.10

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-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
2
+ import { B as BaseDecoder } from "./index-637d60d3.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -103522,16 +103522,16 @@ async function getDecoder(fileDirectory) {
103522
103522
  const Decoder = await importFn();
103523
103523
  return new Decoder(fileDirectory);
103524
103524
  }
103525
- addDecoder([void 0, 1], () => import("./raw-88f7b196.js").then((m) => m.default));
103526
- addDecoder(5, () => import("./lzw-454966c7.js").then((m) => m.default));
103525
+ addDecoder([void 0, 1], () => import("./raw-d170c3ff.js").then((m) => m.default));
103526
+ addDecoder(5, () => import("./lzw-5ce73271.js").then((m) => m.default));
103527
103527
  addDecoder(6, () => {
103528
103528
  throw new Error("old style JPEG compression is not supported.");
103529
103529
  });
103530
- addDecoder(7, () => import("./jpeg-6aedf9d1.js").then((m) => m.default));
103531
- addDecoder([8, 32946], () => import("./deflate-2f2aa589.js").then((m) => m.default));
103532
- addDecoder(32773, () => import("./packbits-fe5ed657.js").then((m) => m.default));
103533
- addDecoder(34887, () => import("./lerc-dd1bd56a.js").then((m) => m.default));
103534
- addDecoder(50001, () => import("./webimage-0cb51961.js").then((m) => m.default));
103530
+ addDecoder(7, () => import("./jpeg-97f0d7e6.js").then((m) => m.default));
103531
+ addDecoder([8, 32946], () => import("./deflate-d28f2985.js").then((m) => m.default));
103532
+ addDecoder(32773, () => import("./packbits-f94317e2.js").then((m) => m.default));
103533
+ addDecoder(34887, () => import("./lerc-d33a266b.js").then((m) => m.default));
103534
+ addDecoder(50001, () => import("./webimage-f77fe948.js").then((m) => m.default));
103535
103535
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
103536
103536
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
103537
103537
  }
@@ -134782,6 +134782,7 @@ class ImageWrapper {
134782
134782
  name: channel.Name || `Channel ${i2}`,
134783
134783
  defaultColor: channel.Color ? channel.Color : void 0,
134784
134784
  defaultWindow: void 0,
134785
+ // TODO: does OME-TIFF support this?
134785
134786
  autoDefaultColor: VIEWER_PALETTE[i2 % VIEWER_PALETTE.length]
134786
134787
  }));
134787
134788
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, b, O } from "./index-ff0f21ef.js";
1
+ import { c, b, O } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
1
+ import { B as BaseDecoder } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-ff0f21ef.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-637d60d3.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
1
+ import { B as BaseDecoder } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
1
+ import { B as BaseDecoder } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
1
+ import { B as BaseDecoder } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ff0f21ef.js";
1
+ import { B as BaseDecoder } from "./index-637d60d3.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  class WebImageDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
1
  export default class OmeTiffAsObsSegmentationsLoader extends OmeTiffLoader {
2
2
  }
3
- import OmeTiffLoader from "./OmeTiffLoader.js";
3
+ import OmeTiffLoader from './OmeTiffLoader.js';
4
4
  //# sourceMappingURL=OmeTiffAsObsSegmentationsLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OmeTiffAsObsSegmentationsLoader.d.ts","sourceRoot":"","sources":["../src/OmeTiffAsObsSegmentationsLoader.js"],"names":[],"mappings":"AAaA;CA6HC"}
1
+ {"version":3,"file":"OmeTiffAsObsSegmentationsLoader.d.ts","sourceRoot":"","sources":["../src/OmeTiffAsObsSegmentationsLoader.js"],"names":[],"mappings":"AAaA;CA6HC;0BA/HyB,oBAAoB"}
@@ -86,8 +86,8 @@ export default class OmeTiffAsObsSegmentationsLoader extends OmeTiffLoader {
86
86
  return new LoaderResult({
87
87
  obsSegmentationsType: 'bitmask',
88
88
  obsSegmentations: {
89
- loaders: imageLayerLoaders,
90
- meta: imageLayerMeta,
89
+ loaders: imageLayerLoaders, // TODO: replace with imageWrapper
90
+ meta: imageLayerMeta, // TODO: replace with imageWrapper
91
91
  instance: imageWrapper, // TODO: make this the root value of LoaderResult.image.
92
92
  },
93
93
  }, urls, coordinationValues);
@@ -90,8 +90,8 @@ export default class OmeTiffLoader extends AbstractTwoStepLoader {
90
90
  };
91
91
  return new LoaderResult({
92
92
  image: {
93
- loaders: imageLayerLoaders,
94
- meta: imageLayerMeta,
93
+ loaders: imageLayerLoaders, // TODO: replace with imageWrapper
94
+ meta: imageLayerMeta, // TODO: replace with imageWrapper
95
95
  instance: imageWrapper, // TODO: make this the root value of LoaderResult.image.
96
96
  },
97
97
  featureIndex: imageWrapper.getChannelNames(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/ome-tiff",
3
- "version": "3.3.9",
3
+ "version": "3.3.10",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,14 +19,14 @@
19
19
  "ajv": "^6.10.0",
20
20
  "d3-array": "^2.4.0",
21
21
  "lodash-es": "^4.17.21",
22
- "@vitessce/constants-internal": "3.3.9",
23
- "@vitessce/gl": "3.3.9",
24
- "@vitessce/sets-utils": "3.3.9",
25
- "@vitessce/config": "3.3.9",
26
- "@vitessce/utils": "3.3.9",
27
- "@vitessce/vit-s": "3.3.9",
28
- "@vitessce/spatial-utils": "3.3.9",
29
- "@vitessce/image-utils": "3.3.9"
22
+ "@vitessce/constants-internal": "3.3.10",
23
+ "@vitessce/config": "3.3.10",
24
+ "@vitessce/sets-utils": "3.3.10",
25
+ "@vitessce/spatial-utils": "3.3.10",
26
+ "@vitessce/image-utils": "3.3.10",
27
+ "@vitessce/gl": "3.3.10",
28
+ "@vitessce/utils": "3.3.10",
29
+ "@vitessce/vit-s": "3.3.10"
30
30
  },
31
31
  "devDependencies": {
32
32
  "ajv": "^6.10.0"