We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07e22a commit 713db65Copy full SHA for 713db65
src/viewer.js
@@ -156,6 +156,10 @@ async function _initializeDecodersAndTransformers ({
156
for (let i = 0; i < metadata.length; i++) {
157
const image = metadata[i]
158
if (image.SamplesPerPixel === 3) {
159
+ if (image.bulkdataReferences.OpticalPathSequence == null) {
160
+ console.warn('ICC Profile was not found')
161
+ continue
162
+ }
163
const iccProfile = await fetchBulkdata({
164
client,
165
reference: (
0 commit comments