---
title: "Class ImageColorProfileRepairer | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement/ImageColorProfileRepairer/"
---

# Class ImageColorProfileRepairer

> **Inheritance:** `System.Object` -> ImageColorProfileRepairer

###### **Namespace**: [Aurigma.DesignAtoms.ColorManagement](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ColorManagement.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class ImageColorProfileRepairer : IFileRepairer
```

## Implements

* [Aurigma.DesignAtoms.Storage.FileStorage.IFileRepairer](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Storage.FileStorage/IFileRepairer.md)

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### ImageColorProfileRepairer

```csharp
public ImageColorProfileRepairer(IConfiguration configuration, IColorManagement colorManagement)
```

## Methods

### CanFix

```csharp
public bool CanFix(string filePath)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *filePath* |  |

##### Returns

`System.Boolean`

### CanFix

```csharp
public bool CanFix(Stream fileData)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.IO.Stream` | *fileData* |  |

##### Returns

`System.Boolean`

### FixFile

```csharp
public string FixFile(string filePath)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *filePath* |  |

##### Returns

`System.String`

### FixFile

```csharp
public string FixFile(Stream fileData)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.IO.Stream` | *fileData* |  |

##### Returns

`System.String`
