---
title: "ImageTransformation"
description: "ImageTransformation"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/dart/reference/imagetransformation"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# ImageTransformation

## ImageTransformation

ImageTransformation provides Query on image URL

## brightness

The brightness parameter allows you to increase or decrease the intensity with which an image reflects or radiates perceived ligh.

```
import contentstack;

final stack = contentstack.Stack("apiKey", "deliveryToken", "environment");
final imageTransformation = stack.imageTransform(imageUrl).brightness(3)
```

you can also define brightness using any decimal number

## blur

The blur parameter allows you to decrease the focus and clarity of a given image. To specify the extent to which you need to increase the blurriness of an image, use any decimal number (float) between 1 and 1000.

```
import contentstack;

final stack = contentstack.Stack("apiKey", "deliveryToken", "environment");
final imageTransformation = stack.imageTransform(imageUrl).bgBolor('Red')
```

It can accept hexadecimal, combination of (Red, Blue, Green) and (Red, Blue, Green, Alpha)

## bgColor

he bg-color function lets you set a backgroud color for the given image. This is useful when applying padding or for replacing the transparent pixels of an image..

```
import contentstack;

final stack = contentstack.Stack("apiKey", "deliveryToken", "environment");
final imageTransformation = stack.imageTransform(imageUrl).bgBolor('Red')
```

It can accept hexadecimal, combination of (Red, Blue, Green) and (Red, Blue, Green, Alpha)

## auto

Specify the version number of the asset that you wish to retrieve. If the version is not specified, the details of the latest version will be retrieved.

```
import contentstack;

final stack = contentstack.Stack("apiKey", "deliveryToken", "environment");
final imageTransformation = stack.imageTransform(imageUrl).auto(auto: 'webp', format: 'pjpg')
```

auto parameter is set to webp

The format

## ImageTransformation | Dart Delivery SDK | Contentstack

ImageTransformation builds query parameters on an image URL in the Dart Delivery SDK to resize, crop, and otherwise transform Contentstack images.