dwv
dwv copied to clipboard
Jpeg image scrolling issue
Hi!
I have a problem with scrolling jpeg images after its been loaded by loadURLs
method. However, when we receive dicom files no such problem appears.
Callback function loadedEnd
calls canScroll
method and it returns false for jpeg files and true for dicom items.
we used this file as an example: DWV-VUE
I'm loading images with this code:
const images = [
"./wado?requestType=WADO&contentType=image/jpeg&studyUID=1.3.12.2.1107.5.1.4.60083.30000020120414114104900000284&seriesUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073543&objectUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073837",
"./wado?requestType=WADO&contentType=image/jpeg&studyUID=1.3.12.2.1107.5.1.4.60083.30000020120414114104900000284&seriesUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073543&objectUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073958",
"./wado?requestType=WADO&contentType=image/jpeg&studyUID=1.3.12.2.1107.5.1.4.60083.30000020120414114104900000284&seriesUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073543&objectUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073716",
"./wado?requestType=WADO&contentType=image/jpeg&studyUID=1.3.12.2.1107.5.1.4.60083.30000020120414114104900000284&seriesUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073543&objectUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073957",
"./wado?requestType=WADO&contentType=image/jpeg&studyUID=1.3.12.2.1107.5.1.4.60083.30000020120414114104900000284&seriesUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073543&objectUID=1.3.12.2.1107.5.1.4.60083.30000020120414124717100073715",
]
this.dwvApp.loadURLs(images, [{name:"contentType", value:"image/jpeg"}])
Please help fix that or may be we're doing something wrong?
The viewer is not ready to handle multiple non dicom data, it does not know how to put them together (I get an error in the image appendSlice
method when trying). Can't you use the dicom files instead?
Thank you. I wanted to use jpeg files because of study delivery time to the client. Will wait this enhancement with next release 👍
The backlog is pretty full, if it is something you can do, I think it will be quicker!
This feature will not be worked on soon, sorry for that. Closing for now, feel free to comment if you need.