@vitessce/ome-tiff 3.3.8 → 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.
- package/dist/{deflate-2f2aa589.js → deflate-d28f2985.js} +1 -1
- package/dist/{index-ff0f21ef.js → index-637d60d3.js} +8 -7
- package/dist/index.js +1 -1
- package/dist/{jpeg-6aedf9d1.js → jpeg-97f0d7e6.js} +1 -1
- package/dist/{lerc-dd1bd56a.js → lerc-d33a266b.js} +1 -1
- package/dist/{lzw-454966c7.js → lzw-5ce73271.js} +1 -1
- package/dist/{packbits-fe5ed657.js → packbits-f94317e2.js} +1 -1
- package/dist/{raw-88f7b196.js → raw-d170c3ff.js} +1 -1
- package/dist/{webimage-0cb51961.js → webimage-f77fe948.js} +1 -1
- package/dist-tsc/OmeTiffAsObsSegmentationsLoader.d.ts +1 -1
- package/dist-tsc/OmeTiffAsObsSegmentationsLoader.d.ts.map +1 -1
- package/dist-tsc/OmeTiffAsObsSegmentationsLoader.js +2 -2
- package/dist-tsc/OmeTiffLoader.js +2 -2
- package/package.json +9 -9
|
@@ -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-
|
|
103526
|
-
addDecoder(5, () => import("./lzw-
|
|
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-
|
|
103531
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
103532
|
-
addDecoder(32773, () => import("./packbits-
|
|
103533
|
-
addDecoder(34887, () => import("./lerc-
|
|
103534
|
-
addDecoder(50001, () => import("./webimage-
|
|
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,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-
|
|
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 +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.
|
|
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.
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/sets-utils": "3.3.
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/utils": "3.3.
|
|
29
|
-
"@vitessce/vit-s": "3.3.
|
|
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"
|