Save annotations to a new dicom file - WebViewer/KeyImageCapture

I have this set in webviewer.json;

// This option displays a button on each viewport. When the user clicks
// on the button, a new DICOM series is created with the image of the
// viewport, including the annotations. You must ensure your server allows
// large requests.
“KeyImageCaptureEnabled”: true,

The key button shows up in the viewport of Osimis Web Viewer and when it’s clicked it does create a new DICOM series but doesn’t seem to include/burn in the annotation so that I can import the image with annotations into another application (main EMR application)

My question is, am I missing something in this process? Is there some other config or addition parameters?

At the end of the day, any method of getting a dicom file with the annotations included is the goal, so any plugin/webviewer works for me so long as it does the job.

Thanks!

First of all, the Osimis Web viewer is now deprecated and left unmaintained, so you should consider switching to the Stone Web viewer:
https://www.orthanc-server.com/static.php?page=stone-web-viewer

Regarding your question, neither the Osimis Web viewer, nor the Stone Web viewer can generated so-called “secondary capture” DICOM images. You can only download the annotations as JPEG/PNG images.

I have added an item on our wishlist:

https://hg.orthanc-server.com/orthanc-stone/rev/b54fc67b3f92

Sébastien-