@vitessce/ome-tiff 3.5.11 → 3.5.12

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-ea1cae01.js";
2
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
3
3
  import "react";
4
4
  class DeflateDecoder extends BaseDecoder {
5
5
  decodeBlock(buffer) {
@@ -109887,16 +109887,16 @@ async function getDecoder(fileDirectory) {
109887
109887
  const Decoder = await importFn();
109888
109888
  return new Decoder(fileDirectory);
109889
109889
  }
109890
- addDecoder([void 0, 1], () => import("./raw-d820c778.js").then((m) => m.default));
109891
- addDecoder(5, () => import("./lzw-0270b679.js").then((m) => m.default));
109890
+ addDecoder([void 0, 1], () => import("./raw-686dedf7.js").then((m) => m.default));
109891
+ addDecoder(5, () => import("./lzw-143df53c.js").then((m) => m.default));
109892
109892
  addDecoder(6, () => {
109893
109893
  throw new Error("old style JPEG compression is not supported.");
109894
109894
  });
109895
- addDecoder(7, () => import("./jpeg-4aa37fc3.js").then((m) => m.default));
109896
- addDecoder([8, 32946], () => import("./deflate-fc12c1cd.js").then((m) => m.default));
109897
- addDecoder(32773, () => import("./packbits-d559ff5b.js").then((m) => m.default));
109898
- addDecoder(34887, () => import("./lerc-3a26f057.js").then((m) => m.default));
109899
- addDecoder(50001, () => import("./webimage-fa91a356.js").then((m) => m.default));
109895
+ addDecoder(7, () => import("./jpeg-84d6e012.js").then((m) => m.default));
109896
+ addDecoder([8, 32946], () => import("./deflate-d27ac528.js").then((m) => m.default));
109897
+ addDecoder(32773, () => import("./packbits-04b6ae2c.js").then((m) => m.default));
109898
+ addDecoder(34887, () => import("./lerc-4f2b751f.js").then((m) => m.default));
109899
+ addDecoder(50001, () => import("./webimage-7c9385c3.js").then((m) => m.default));
109900
109900
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
109901
109901
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
109902
109902
  }
@@ -143891,9 +143891,6 @@ function physicalSizeToMatrix(xSize, ySize, zSize, xUnit, yUnit, zUnit) {
143891
143891
  sizes.push(unit(`${zSize} ${zUnit}`.replace("µ", "u")));
143892
143892
  }
143893
143893
  const scale2 = sizes.map((i2) => divide(i2, unit("1 um")));
143894
- if (!sizes[0].equals(sizes[1])) {
143895
- scale2[1] = divide(sizes[1], sizes[0]);
143896
- }
143897
143894
  if (!scale2[2]) {
143898
143895
  scale2[2] = 1;
143899
143896
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, b, O } from "./index-ea1cae01.js";
1
+ import { c, b, O } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  export {
4
4
  c as OmeTiffAsObsSegmentationsLoader,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ea1cae01.js";
1
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  const dctZigZag = new Int32Array([
4
4
  0,
@@ -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-ea1cae01.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-d7c87a3c.js";
3
3
  import "react";
4
4
  var LercDecode = { exports: {} };
5
5
  (function(module) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ea1cae01.js";
1
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  const MIN_BITS = 9;
4
4
  const CLEAR_CODE = 256;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ea1cae01.js";
1
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  class PackbitsDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ea1cae01.js";
1
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  class RawDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-ea1cae01.js";
1
+ import { B as BaseDecoder } from "./index-d7c87a3c.js";
2
2
  import "react";
3
3
  class WebImageDecoder extends BaseDecoder {
4
4
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/ome-tiff",
3
- "version": "3.5.11",
3
+ "version": "3.5.12",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,14 +18,14 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
- "@vitessce/abstract": "3.5.11",
22
- "@vitessce/constants-internal": "3.5.11",
23
- "@vitessce/config": "3.5.11",
24
- "@vitessce/gl": "3.5.11",
25
- "@vitessce/spatial-utils": "3.5.11",
26
- "@vitessce/image-utils": "3.5.11",
27
- "@vitessce/sets-utils": "3.5.11",
28
- "@vitessce/utils": "3.5.11"
21
+ "@vitessce/abstract": "3.5.12",
22
+ "@vitessce/constants-internal": "3.5.12",
23
+ "@vitessce/config": "3.5.12",
24
+ "@vitessce/gl": "3.5.12",
25
+ "@vitessce/sets-utils": "3.5.12",
26
+ "@vitessce/spatial-utils": "3.5.12",
27
+ "@vitessce/image-utils": "3.5.12",
28
+ "@vitessce/utils": "3.5.12"
29
29
  },
30
30
  "scripts": {
31
31
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",