Retrieving a thumbnail for the images in a series

Retrieving a thumbnail for the images in a series is done using the GetImagesAsThumbnail web method exposed by the web service.

The power of this method comes from its ability to recompress the image based on the user’s requirements. For example, the image can be recompressed using lossless JPEG 2000. This provides for maximum compression with no loss in image quality, as is required by most radiologists and referring physicians.

The parameters taken by this method are shown below. This method allows you to retrieve the thumbnails for all images under a series in one call, as well as to specify the attributes of the thumbnail such as the width, height and bit depth.

POST /leadtools.medicalWebviewer.cs.webservices/mainservice.asmx HTTP/1.1
Host: 10.0.2.55
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
 
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetImagesAsThumbnail xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
      <studyInstanceUID>string</studyInstanceUID>
      <seriesInstanceUID>string</seriesInstanceUID>
      <thumbnailWidth>int</thumbnailWidth>
      <thumbnailHeight>int</thumbnailHeight>
      <format>Jpeg or Jpeg2000 or Bmp or Png or Tiff or LosslessMedicalJPEG</format>
      <bitsPerPixel>int</bitsPerPixel>
      <qualityFactor>int</qualityFactor>
    </GetImagesAsThumbnail>
  </soap12:Body>
</soap12:Envelope>