dwv icon indicating copy to clipboard operation
dwv copied to clipboard

Jpeg image scrolling issue

Open turtle-hobbit opened this issue 2 years ago • 3 comments

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?

turtle-hobbit avatar Jun 14 '22 11:06 turtle-hobbit

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?

ivmartel avatar Jun 21 '22 07:06 ivmartel

Thank you. I wanted to use jpeg files because of study delivery time to the client. Will wait this enhancement with next release 👍

turtle-hobbit avatar Jun 21 '22 08:06 turtle-hobbit

The backlog is pretty full, if it is something you can do, I think it will be quicker!

ivmartel avatar Jun 21 '22 08:06 ivmartel

This feature will not be worked on soon, sorry for that. Closing for now, feel free to comment if you need.

ivmartel avatar Mar 06 '23 14:03 ivmartel