Hi, my program has 2 pages. The first one has a input element to load multiple dicom files in local directory. Then all of the files' path were save in server. The second page will load the local file by using fs.readFile. However, the result of the fs.readFile is buffer type, not a file. It cannot be use by cornerstone.loadImage. How can I solve this issue.
Hi, my program has 2 pages. The first one has a input element to load multiple dicom files in local directory. Then all of the files' path were save in server. The second page will load the local file by using fs.readFile. However, the result of the fs.readFile is buffer type, not a file. It cannot be use by cornerstone.loadImage. How can I solve this issue.
Thx