Commit 81d63f7a authored by Florent Poittevin's avatar Florent Poittevin
Browse files

feat(preview): [DLCM-1889] manage preview for tiff file

parent 39290c06
......@@ -61,7 +61,8 @@
]
},
"scripts": [
"node_modules/blobjs/Blob.min.js"
"node_modules/blobjs/Blob.min.js",
"node_modules/tiff.js/tiff.js"
],
"vendorChunk": true,
"extractLicenses": false,
......
......@@ -17058,6 +17058,11 @@
"integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==",
"dev": true
},
"tiff.js": {
"version": "1.0.0",
"resolved": "https://nexus.unige.ch/repository/npm-all/tiff.js/-/tiff.js-1.0.0.tgz",
"integrity": "sha512-P+ZWp1hcpEIx/Pzuc+REh0+isGXk5kfnFEJKRPq1trMbZW49eD/QGDT8Y4KamIK2ZXU+DcYr47auaO93akVP3A=="
},
"timsort": {
"version": "0.3.0",
"resolved": "https://nexus.unige.ch/repository/npm-all/timsort/-/timsort-0.3.0.tgz",
......
......@@ -175,6 +175,12 @@ export const defaultEnvironment: DlcmEnvironment = {
visualizationChemicalMolecule2dLibs: ["JSmolJME.js", "jsme.nocache.js"],
visualizationChemicalMolecule3dLib: "JSmol.min.js",
// tiff constant
visualizationTiffExtensions: ["tiff"],
visualizationTiffContentType: ["image/tiff"],
visualizationTiffMimeType: ["image/tiff", "image/x-tiff"],
visualizationTiffPronomId: ["fmt/353"],
// image constant
visualizationImageExtensions: ["png", "gif", "jpeg", "svg"],
visualizationImageContentType: ["image/gif", "image/png", "image/jpeg", "image/svg+xml"],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment