---
title: "ImageSource | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/ImageItem.ImageItem.Namespace.ImageSource/"
---

# ImageSource

> - [`IEqualsReady`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#iequalsready)

## Classes

### Origin

#### Implements

#### Constructors

##### Constructor

```ts
new Origin(rawData?): Origin;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `rawData?` | `Object` |

###### Returns

[`Origin`](#origin)

#### Properties

##### data?

```ts
optional data?: any;
```

##### originalSize?

```ts
optional originalSize?: ImageSize;
```

##### type

```ts
type: string;
```

#### Methods

##### clone()

```ts
clone(): Origin;
```

###### Returns

[`Origin`](#origin)

##### equals()

```ts
equals(other): any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | [`Origin`](#origin) |

###### Returns

`any`

###### Implementation of

[`IEqualsReady`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#iequalsready).[`equals`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-model/Utils-2.md#equals)
