This commit is contained in:
Ross
2021-11-12 12:45:25 +00:00
parent 267dea969a
commit 75d347b7ba
3 changed files with 15 additions and 5 deletions
+5
View File
@@ -785,4 +785,9 @@ input {
color: darkblue; color: darkblue;
border: 1px solid black; border: 1px solid black;
}
.temp-thumb-large {
width: 1000px;
height: 1000px;
} }
+5 -5
View File
@@ -471,11 +471,11 @@
cornerstone.loadAndCacheImage(imageId).then(function (image) { cornerstone.loadAndCacheImage(imageId).then(function (image) {
cornerstone.displayImage(element2, image); cornerstone.displayImage(element2, image);
element2.requestFullscreen().then(() => { $(element2).addClass("temp-thumb-large");
ocr2($(element2).find("canvas").get(0).toDataURL(), el); cornerstone.resize(element2)
document.exitFullscreen(); ocr2($(element2).find("canvas").get(0).toDataURL(), el);
}) $(element2).removeClass("temp-thumb-large");
//cornerstone.resize(element2) cornerstone.resize(element2)
}); });
+5
View File
@@ -785,4 +785,9 @@ input {
color: darkblue; color: darkblue;
border: 1px solid black; border: 1px solid black;
}
.temp-thumb-large {
width: 1000px;
height: 1000px;
} }