# TreatmentImageOptions

Generic image generation options for treatment providers.

Class 

`IntelligenceX.Treatment`

**Namespace**

`IntelligenceX.Treatment`

**Assembly**

`IntelligenceX`

**Source**

[TreatmentContracts.cs:235](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L235)

**Modifiers**

sealed

Generic image generation options for treatment providers.

## Inheritance

- object
- TreatmentImageOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [TreatmentRequest.ImageGeneration](/api/intelligencex-treatment-treatmentrequest/#property-imagegeneration)

Filter members 

Show inherited

## Constructors

`public TreatmentImageOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool Enabled { get; set; }` [#](#property-enabled)

[TreatmentContracts.cs:235](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L235)

Enables provider-side image generation.

`public string? OutputDirectory { get; set; }` [#](#property-outputdirectory)

[TreatmentContracts.cs:239](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L239)

Directory where generated image files should be written when supported.

`public string? Quality { get; set; }` [#](#property-quality)

[TreatmentContracts.cs:243](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L243)

Provider image quality hint.

`public string? Size { get; set; }` [#](#property-size)

[TreatmentContracts.cs:247](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L247)

Provider image size hint.

`public string? OutputFormat { get; set; }` [#](#property-outputformat)

[TreatmentContracts.cs:251](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L251)

Desired image output format.

`public string? Background { get; set; }` [#](#property-background)

[TreatmentContracts.cs:255](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L255)

Desired background handling.

`public int? OutputCompression { get; set; }` [#](#property-outputcompression)

[TreatmentContracts.cs:259](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L259)

Output compression for lossy formats.

`public int? PartialImages { get; set; }` [#](#property-partialimages)

[TreatmentContracts.cs:263](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentContracts.cs#L263)

Number of partial images requested from streaming-capable providers.

<!-- PowerForge markdown artifact sha256:4014E2DFFE5ED74F7E0377D02BC87940A1F4E9C2D8BE10CDFF591B7E652C1653 -->
