You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Papaya viewer to display medical images, and I'm currently facing an issue with retrieving a specific view's image when the viewer's HTML element is a canvas. The problem is that when I try to get the image, I only receive the entire canvas content, rather than the specific image I want.
Is there a JS function I can use to retrieve a specific image from the canvas?
Papaya viewer version: 1.0.1455
Browser: Safari
Operating System: MacOS
The text was updated successfully, but these errors were encountered:
this.selectedSlice will give you selected one also try and fine FindImage from ScreenVolume.js you will find logic to find current image from canvas. Hint : this.volume.header.imageDimensions.zDim for MainImage.
I'm using the Papaya viewer to display medical images, and I'm currently facing an issue with retrieving a specific view's image when the viewer's HTML element is a canvas. The problem is that when I try to get the image, I only receive the entire canvas content, rather than the specific image I want.
Is there a JS function I can use to retrieve a specific image from the canvas?
The text was updated successfully, but these errors were encountered: