@vitessce/image-utils 3.6.9 → 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-BpnGGDv2.js";
2
+ import { B as BaseDecoder } from "./index-C6BUzI7I.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -119135,7 +119135,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
119135
119135
  const GLSL_COLORMAPS = [
119136
119136
  "plasma",
119137
119137
  "viridis",
119138
- "jet"
119138
+ "jet",
119139
+ "greys"
119139
119140
  ];
119140
119141
  const GLSL_COLORMAP_DEFAULT = "plasma";
119141
119142
  const COLORMAP_SHADER_PLACEHOLDER = "COLORMAP_FUNC";
@@ -120224,22 +120225,22 @@ function addDecoder(cases, importFn) {
120224
120225
  }
120225
120226
  cases.forEach((c) => registry$1.set(c, importFn));
120226
120227
  }
120227
- addDecoder([void 0, 1], () => import("./raw-BTn6dLCD.js").then((m) => m.default));
120228
- addDecoder(5, () => import("./lzw-C6ogUnun.js").then((m) => m.default));
120228
+ addDecoder([void 0, 1], () => import("./raw-DF1Hc6aN.js").then((m) => m.default));
120229
+ addDecoder(5, () => import("./lzw-DoTQYaZG.js").then((m) => m.default));
120229
120230
  addDecoder(6, () => {
120230
120231
  throw new Error("old style JPEG compression is not supported.");
120231
120232
  });
120232
- addDecoder(7, () => import("./jpeg-Dvu4OTul.js").then((m) => m.default));
120233
- addDecoder([8, 32946], () => import("./deflate-F8grfDh6.js").then((m) => m.default));
120234
- addDecoder(32773, () => import("./packbits-BbCLrc81.js").then((m) => m.default));
120233
+ addDecoder(7, () => import("./jpeg-DjPWl9ba.js").then((m) => m.default));
120234
+ addDecoder([8, 32946], () => import("./deflate-DpUWNzaA.js").then((m) => m.default));
120235
+ addDecoder(32773, () => import("./packbits-OCRRZ5vn.js").then((m) => m.default));
120235
120236
  addDecoder(
120236
120237
  34887,
120237
- () => import("./lerc-Dqw24LZ0.js").then(async (m) => {
120238
+ () => import("./lerc-Bx0nEWwc.js").then(async (m) => {
120238
120239
  await m.zstd.init();
120239
120240
  return m;
120240
120241
  }).then((m) => m.default)
120241
120242
  );
120242
- addDecoder(50001, () => import("./webimage-C9hqCa1B.js").then((m) => m.default));
120243
+ addDecoder(50001, () => import("./webimage-la2HMraT.js").then((m) => m.default));
120243
120244
  function decodeRowAcc(row, stride) {
120244
120245
  let length2 = row.length - stride;
120245
120246
  let offset = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I } from "./index-BpnGGDv2.js";
1
+ import { I } from "./index-C6BUzI7I.js";
2
2
  export {
3
3
  I as ImageWrapper
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BpnGGDv2.js";
1
+ import { B as BaseDecoder } from "./index-C6BUzI7I.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 } from "./index-BpnGGDv2.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-C6BUzI7I.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BpnGGDv2.js";
1
+ import { B as BaseDecoder } from "./index-C6BUzI7I.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-BpnGGDv2.js";
1
+ import { B as BaseDecoder } from "./index-C6BUzI7I.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-BpnGGDv2.js";
1
+ import { B as BaseDecoder } from "./index-C6BUzI7I.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-BpnGGDv2.js";
1
+ import { B as BaseDecoder } from "./index-C6BUzI7I.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/image-utils",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,10 +17,10 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@hms-dbmi/viv": "~0.16.0",
20
- "@vitessce/types": "3.6.9",
21
- "@vitessce/spatial-utils": "3.6.9",
22
- "@vitessce/utils": "3.6.9",
23
- "@vitessce/globals": "3.6.9"
20
+ "@vitessce/types": "3.6.11",
21
+ "@vitessce/spatial-utils": "3.6.11",
22
+ "@vitessce/utils": "3.6.11",
23
+ "@vitessce/globals": "3.6.11"
24
24
  },
25
25
  "devDependencies": {
26
26
  "vite": "^6.3.5",