Window / Level Preview

Is there a way to render a preview image (jpeg or png) with a given window / level? Can this be done with either the preview function in the REST API or the DicomWeb Plugin? The docs indicate that this is not supported in the DicomWeb Plugin.

Thanks!

Hello,

As far as I know, it is not possible to prerender the windowing on the server-side using Orthanc without developing an additional plugin.
It is only possible from the client using either Orthanc Web Viewer Plugin or Osimis’ one. None of them allow to download the processed image at the moment.

Kind Regards,
Thibault

I confirm Thibault’s answer.

It is however very easy to implement this feature as an Orthanc plugin, in a few lines of C or C++:
http://book.orthanc-server.com/developers/creating-plugins.html

Sébastien-