@vitessce/image-utils 3.3.4 → 3.3.6
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-044c4bd0.js → deflate-75fb8923.js} +1 -1
- package/dist/{index-a024624e.js → index-954c47d9.js} +10 -12
- package/dist/index.js +1 -1
- package/dist/{jpeg-3b0fea1d.js → jpeg-4b10183f.js} +1 -1
- package/dist/{lerc-07727be6.js → lerc-3e6f642f.js} +1 -1
- package/dist/{lzw-dcdb1bc7.js → lzw-69cead73.js} +1 -1
- package/dist/{packbits-48982778.js → packbits-d3ed6e6f.js} +1 -1
- package/dist/{raw-ac00cb26.js → raw-dca1ddce.js} +1 -1
- package/dist/{webimage-5eaab2fa.js → webimage-64abeece.js} +1 -1
- package/package.json +3 -3
|
@@ -19817,9 +19817,6 @@ var pluralizeExports = pluralize.exports;
|
|
|
19817
19817
|
const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
|
|
19818
19818
|
plur.addPluralRule("glomerulus", "glomeruli");
|
|
19819
19819
|
plur.addPluralRule("interstitium", "interstitia");
|
|
19820
|
-
function fromEntries(iterable) {
|
|
19821
|
-
return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
|
|
19822
|
-
}
|
|
19823
19820
|
const VIEWER_PALETTE = [
|
|
19824
19821
|
[0, 0, 255],
|
|
19825
19822
|
[0, 255, 0],
|
|
@@ -117845,7 +117842,8 @@ const AXIS_TITLE_TEXT_SIZE = 15;
|
|
|
117845
117842
|
const AXIS_MARGIN = 3;
|
|
117846
117843
|
const THEME_TO_TEXT_COLOR = {
|
|
117847
117844
|
dark: [224, 224, 224],
|
|
117848
|
-
light: [64, 64, 64]
|
|
117845
|
+
light: [64, 64, 64],
|
|
117846
|
+
light2: [64, 64, 64]
|
|
117849
117847
|
};
|
|
117850
117848
|
const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
|
|
117851
117849
|
const PIXELATED_TEXTURE_PARAMETERS = {
|
|
@@ -118948,16 +118946,16 @@ function addDecoder(cases, importFn) {
|
|
|
118948
118946
|
}
|
|
118949
118947
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
118950
118948
|
}
|
|
118951
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
118952
|
-
addDecoder(5, () => import("./lzw-
|
|
118949
|
+
addDecoder([void 0, 1], () => import("./raw-dca1ddce.js").then((m) => m.default));
|
|
118950
|
+
addDecoder(5, () => import("./lzw-69cead73.js").then((m) => m.default));
|
|
118953
118951
|
addDecoder(6, () => {
|
|
118954
118952
|
throw new Error("old style JPEG compression is not supported.");
|
|
118955
118953
|
});
|
|
118956
|
-
addDecoder(7, () => import("./jpeg-
|
|
118957
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
118958
|
-
addDecoder(32773, () => import("./packbits-
|
|
118959
|
-
addDecoder(34887, () => import("./lerc-
|
|
118960
|
-
addDecoder(50001, () => import("./webimage-
|
|
118954
|
+
addDecoder(7, () => import("./jpeg-4b10183f.js").then((m) => m.default));
|
|
118955
|
+
addDecoder([8, 32946], () => import("./deflate-75fb8923.js").then((m) => m.default));
|
|
118956
|
+
addDecoder(32773, () => import("./packbits-d3ed6e6f.js").then((m) => m.default));
|
|
118957
|
+
addDecoder(34887, () => import("./lerc-3e6f642f.js").then((m) => m.default));
|
|
118958
|
+
addDecoder(50001, () => import("./webimage-64abeece.js").then((m) => m.default));
|
|
118961
118959
|
function decodeRowAcc(row, stride) {
|
|
118962
118960
|
let length2 = row.length - stride;
|
|
118963
118961
|
let offset = 0;
|
|
@@ -130258,7 +130256,7 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
130258
130256
|
} = this.state;
|
|
130259
130257
|
if (textures && model) {
|
|
130260
130258
|
const scaleFactor = 1 / 2 ** (maxZoom - zoom);
|
|
130261
|
-
const colors = fromEntries(range$4(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
130259
|
+
const colors = Object.fromEntries(range$4(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
130262
130260
|
model.setUniforms(Object.assign({}, uniforms, {
|
|
130263
130261
|
...colors,
|
|
130264
130262
|
// Bitmask image channel data textures
|
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 } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-954c47d9.js";
|
|
3
3
|
import "react";
|
|
4
4
|
const LercParameters = {
|
|
5
5
|
Version: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/image-utils",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hms-dbmi/viv": "~0.13.8",
|
|
20
|
-
"@vitessce/spatial-utils": "3.3.
|
|
21
|
-
"@vitessce/utils": "3.3.
|
|
20
|
+
"@vitessce/spatial-utils": "3.3.6",
|
|
21
|
+
"@vitessce/utils": "3.3.6"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"vite": "^4.3.0",
|