Thumbnails

I’m progressing with my Orthanc development and have come to the point where I’m building an alternative to Orthanc Explorer.

So I’m looking at the REST API and I have a few questions:

  1. Is there a call that can generate (super fast) a thumbnail for a series.
  2. Is there a difference between /instances/{id}/preview and /instances/{id}/frames/0/preview

Hello again,

(1) Not as such. I would advise you to take the middle element in the “Slices” element of the array returned by the “ordered-slices” URI associated with the series, then concatenating this URI with “/preview”.

(2) There is no difference. Obviously, the “…/frames/…” URI is more generic, as it can generate preview for each frame of a multi-frame image (and not just the first frame).