---
title: "Decode an image (preview)"
method: GET
path: "/instances/{id}/preview"
tags: ["Instances"]
---

# Decode an image (preview)

`GET /instances/{id}/preview`

Decode the first frame of the given DICOM instance. The full dynamic range of grayscale images is rescaled to the [0,255] range.

## Path parameters

- `id` string, required

## Query parameters

- `quality` number
- `returnUnsupportedImage` boolean

## Headers

- `Accept` string

## Response `200`

---

[API](https://skmtc.net/uclouvain/apis/orthanc-api.md) · [All operations](https://skmtc.net/uclouvain/apis/orthanc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uclouvain/orthanc-api/versions/9297c4930d96/schema)
