# Positionable Crop

Allows to crop an image by providing the cropping area. It is useful when you want to crop a specific part of the image. To set the coordinates of the crop rectangle, use the **tl\_px** and **br\_px** operations.

<mark style="color:orange;">**tl\_px=X1,Y1**</mark>

<mark style="color:orange;">**br\_px=X2,Y2**</mark>

## Examples

Original image: [/docs/kids.jpg](https://fdocs.filerobot.com/docs/kids.jpg)

<figure><img src="https://fdocs.filerobot.com/docs/kids.jpg" alt=""><figcaption></figcaption></figure>

| Preview                          | Syntax                                                                                                                                                                                                 |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](/files/yziDQfp7MQbLMQmBB8gV) | [/docs/kids.jpg?<mark style="color:orange;">**tl\_px=900,100**</mark>&<mark style="color:orange;">**br\_px=1300,550**</mark>](https://fdocs.filerobot.com/docs/kids.jpg?tl_px=900,100\&br_px=1300,550) |
| ![](/files/3aJ79zm34EyzREeh0ZHG) | [/docs/kids.jpg?<mark style="color:orange;">**br\_px=890,560**</mark>](https://fdocs.filerobot.com/docs/kids.jpg?br_px=890,560)                                                                        |

## Combining positionable crop with resize modes

Positionable crop can be combined with all available resize functions - [width/height](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/width-and-height.md), [crop](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/crop.md), [fit](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/fit.md), [bound](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/bound.md) or [cover](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/cover.md). This operation is performed after the positionable crop.

### Examples

| Preview                          | Syntax                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](/files/t8xPDbLMASV8MN3pROU9) | [/docs/kids.jpg?<mark style="color:orange;">**w=200**</mark>&<mark style="color:orange;">**tl\_px=900,0**</mark>&<mark style="color:orange;">**br\_px=1300,600**</mark>](https://fdocs.filerobot.com/docs/kids.jpg?w=200\&tl_px=900,0\&br_px=1300,600)                                                                                                                                                                                          |
| ![](/files/t56dLKbunzgNWsoLgVAn) | [/docs/kids.jpg?<mark style="color:orange;">**w=800**</mark>&<mark style="color:orange;">**h=270**</mark>&<mark style="color:orange;">**tl\_px=310,70**</mark>&<mark style="color:orange;">**br\_px=1550,580**</mark>&<mark style="color:orange;">**func=fit**</mark>&<mark style="color:orange;">**bg\_color=3498db**</mark>](https://fdocs.filerobot.com/docs/kids.jpg?w=800\&h=270\&tl_px=310,70\&br_px=1550,580\&func=fit\&bg_color=3498db) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/image-optimization/operations/crop/positionable-crop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
