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

# Class XmpMetadataService

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

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

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

```csharp title="Syntax"
public class XmpMetadataService
```

## 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

### XmpMetadataService

```csharp
public XmpMetadataService()
```

## Methods

### CreateXmpStringWithResolution

```csharp
public string CreateXmpStringWithResolution(float resolutionX, float resolutionY)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Single` | *resolutionX* |  |
| `System.Single` | *resolutionY* |  |

##### Returns

`System.String`

### ExtractResolutionFromXmpString

```csharp
public (float ResolutionX, float ResolutionY) ExtractResolutionFromXmpString(string xmpString, float defaultResolution)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *xmpString* |  |
| `System.Single` | *defaultResolution* |  |

##### Returns

`System.ValueTuple<System.Single,System.Single>`
