---
title: "Generate Cropped Image Based On ThumbnailCoordinates For Notes (Auth)"
method: GET
path: "/api/images/cropped/{id}"
tags: ["Image"]
---

# Generate Cropped Image Based On ThumbnailCoordinates For Notes (Auth)

`GET /api/images/cropped/{id}`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `left` number, double
- `top` number, double
- `width` number, double
- `height` number, double

## Response `200`

OK

- RImage — Image Files
  - `id` string, uuid — Id
  - `originalFileName` string, nullable — Original File Name
  - `contentType` string, nullable — content type
  - `fileSizeInBytes` integer — Original Image File Size In Byte
  - `imageWidth` integer — Original Image Width
  - `imageHeight` integer — Original Image Height
  - `folderName` string, nullable — پوشه محل ذخیره تصویر
  - `storedFileName` string, nullable — نام فایل ذخیره شده با بالاترین کیفیت
  - `dataTime` string, date-time — datetime
  - `lastModified` string, date-time — Last Modified for caching purposes

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

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