@vitessce/ome-tiff 3.6.13 → 3.6.15
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-CsVUJRQh.js → deflate-u7j5fAYD.js} +1 -1
- package/dist/{index-CvbBsZl9.js → index-Cm9YItP4.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-BOmRcIup.js → jpeg-Dp1zNV18.js} +1 -1
- package/dist/{lerc-D8moRaV1.js → lerc-D8aoR9iq.js} +1 -1
- package/dist/{lzw-C6XzILiL.js → lzw-DgaeJZEg.js} +1 -1
- package/dist/{packbits-DPaUyK48.js → packbits-ilQhXLbG.js} +1 -1
- package/dist/{raw-DBApv_dB.js → raw-BqYJ21Lo.js} +1 -1
- package/dist/{webimage-DIeQ7UJG.js → webimage-C8B5E807.js} +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-Cm9YItP4.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -104772,22 +104772,22 @@ async function getDecoder(fileDirectory) {
|
|
|
104772
104772
|
const Decoder = await importFn();
|
|
104773
104773
|
return new Decoder(fileDirectory);
|
|
104774
104774
|
}
|
|
104775
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
104776
|
-
addDecoder(5, () => import("./lzw-
|
|
104775
|
+
addDecoder([void 0, 1], () => import("./raw-BqYJ21Lo.js").then((m) => m.default));
|
|
104776
|
+
addDecoder(5, () => import("./lzw-DgaeJZEg.js").then((m) => m.default));
|
|
104777
104777
|
addDecoder(6, () => {
|
|
104778
104778
|
throw new Error("old style JPEG compression is not supported.");
|
|
104779
104779
|
});
|
|
104780
|
-
addDecoder(7, () => import("./jpeg-
|
|
104781
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
104782
|
-
addDecoder(32773, () => import("./packbits-
|
|
104780
|
+
addDecoder(7, () => import("./jpeg-Dp1zNV18.js").then((m) => m.default));
|
|
104781
|
+
addDecoder([8, 32946], () => import("./deflate-u7j5fAYD.js").then((m) => m.default));
|
|
104782
|
+
addDecoder(32773, () => import("./packbits-ilQhXLbG.js").then((m) => m.default));
|
|
104783
104783
|
addDecoder(
|
|
104784
104784
|
34887,
|
|
104785
|
-
() => import("./lerc-
|
|
104785
|
+
() => import("./lerc-D8aoR9iq.js").then(async (m) => {
|
|
104786
104786
|
await m.zstd.init();
|
|
104787
104787
|
return m;
|
|
104788
104788
|
}).then((m) => m.default)
|
|
104789
104789
|
);
|
|
104790
|
-
addDecoder(50001, () => import("./webimage-
|
|
104790
|
+
addDecoder(50001, () => import("./webimage-C8B5E807.js").then((m) => m.default));
|
|
104791
104791
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
104792
104792
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
104793
104793
|
}
|
|
@@ -122569,10 +122569,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
122569
122569
|
channelIsSetColorMode.forEach((isSetColorMode, channelIndex) => {
|
|
122570
122570
|
var _a3, _b2, _c, _d;
|
|
122571
122571
|
if (isSetColorMode) {
|
|
122572
|
-
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length)
|
|
122572
|
+
totalColorsLength += (((_b2 = (_a3 = setColorValues[channelIndex]) == null ? void 0 : _a3.setColors) == null ? void 0 : _b2.length) ?? 0) * 3;
|
|
122573
122573
|
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max$1(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
122574
122574
|
} else {
|
|
122575
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$1(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length)
|
|
122575
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$1(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) ?? 0;
|
|
122576
122576
|
}
|
|
122577
122577
|
});
|
|
122578
122578
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
@@ -122593,7 +122593,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
122593
122593
|
const matrixObsIndex = multiMatrixObsIndex[channelIndex];
|
|
122594
122594
|
const bitmaskValueIsIndex = matrixObsIndex === null;
|
|
122595
122595
|
if (isSetColorMode) {
|
|
122596
|
-
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex]
|
|
122596
|
+
const { setColorIndices, setColors, obsIndex } = setColorValues[channelIndex] ?? {};
|
|
122597
122597
|
if (setColorIndices && setColors && obsIndex) {
|
|
122598
122598
|
for (let i2 = 0; i2 < obsIndex.length; i2++) {
|
|
122599
122599
|
let obsId = String(i2 + 1);
|
|
@@ -122617,7 +122617,7 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
122617
122617
|
indexOffset += (obsIndex == null ? void 0 : obsIndex.length) || 0;
|
|
122618
122618
|
colorOffset += (setColors == null ? void 0 : setColors.length) || 0;
|
|
122619
122619
|
} else {
|
|
122620
|
-
const featureArr = multiFeatureValues[channelIndex];
|
|
122620
|
+
const featureArr = multiFeatureValues[channelIndex] ?? [];
|
|
122621
122621
|
const normalizedFeatureArr = normalize(featureArr);
|
|
122622
122622
|
if (!bitmaskValueIsIndex && matrixObsIndex) {
|
|
122623
122623
|
for (let i2 = 0; i2 < matrixObsIndex.length; i2++) {
|
package/dist/index.js
CHANGED
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-Cm9YItP4.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/ome-tiff",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.15",
|
|
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.
|
|
22
|
-
"@vitessce/error": "3.6.
|
|
23
|
-
"@vitessce/constants-internal": "3.6.
|
|
24
|
-
"@vitessce/config": "3.6.
|
|
25
|
-
"@vitessce/gl": "3.6.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/utils": "3.6.
|
|
29
|
-
"@vitessce/
|
|
21
|
+
"@vitessce/abstract": "3.6.15",
|
|
22
|
+
"@vitessce/error": "3.6.15",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.15",
|
|
24
|
+
"@vitessce/config": "3.6.15",
|
|
25
|
+
"@vitessce/gl": "3.6.15",
|
|
26
|
+
"@vitessce/sets-utils": "3.6.15",
|
|
27
|
+
"@vitessce/spatial-utils": "3.6.15",
|
|
28
|
+
"@vitessce/image-utils": "3.6.15",
|
|
29
|
+
"@vitessce/utils": "3.6.15"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|