Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/switch-openjph-wasm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"zarrextra": minor
"@spatialdata/vis": patch
---

Switch HTJ2K codec from `@cornerstonejs/codec-openjph` to `openjph-wasm`, which correctly round-trips multi-component (volumetric) HTJ2K data. The cornerstone build silently dropped components 2..N on decode; `openjph-wasm` handles arbitrary component counts losslessly.

Also adds true z>1 multi-component chunk support: z-planes are now encoded as components of a single codestream rather than one plane per chunk. Exports `Htj2kPlane` from the package index.
4 changes: 2 additions & 2 deletions packages/vis/scripts/dev.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
isPortInUse,
listProcesses,
portListeners,
} from '../../scripts/dev-process-utils.mjs';
import { FIXTURE_SERVER_PORT } from '../../scripts/fixture-server-port.mjs';
} from '../../../scripts/dev-process-utils.mjs';
import { FIXTURE_SERVER_PORT } from '../../../scripts/fixture-server-port.mjs';

const DEMO_PORT = 5173;
const pnpmCommand = process.platform === 'win32' ? 'pnpm.cmd' : 'pnpm';
Expand Down
Loading